Created
March 5, 2010 22:33
-
-
Save lstoll/323238 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Need to have this file in your .emacs.d | |
# http://github.com/lstoll/emacs.d/blob/lstoll/emacs-gui.sh | |
# This will open the file in GUI Emacs, starting if if's not running | |
alias ec="/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -n -a ~/.emacs.d/emacs-gui.sh" | |
# This will open the file in a new frame in the terminal, using the running gui backend | |
alias et="/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -t -a ~/.emacs.d/emacs-gui.sh" | |
# Open the file in GUI Emacs, in a new frame (OS X 'Window') | |
alias en="/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -n -c ~/.emacs.d/emacs-gui.sh" | |
# Set the default command line editor (e.g for commits) to GUI emacs if it's running, otherwise use VI | |
EDITOR="/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -t --alternate-editor vi" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment