Install GNU Emacs with homebrew:
$ brew install emacs --with-cocoa --with-librsvg --with-gnutls --with-imagemagick
$ brew link emacs
Create aliases in shell profile file such as .bash_profile
:
alias ew='/usr/local/opt/emacs-mac/Emacs.app/Contents/MacOS/Emacs'
alias ec='/usr/local/bin/emacsclient -n'
Clone repository:
$ cd ~/editors_config
$ git clone https://github.com/ogimart/emacs.d.git
Create symbolic link for emacs.d and init.el:
$ cd emacs.d
$ ./synlink-emacs-d
- Clojure (CIDER, clj-refactor)
- Common Lisp (SLIME)
- Scheme (Gambit, Gerbil)
- Python (Anaconda)
- C & C++ (clang, Irony)
Keybinding | Description |
---|---|
C-^ | Top join line |
C-o | Open next line |
M-o | Open previois line |
M-p | Move line up |
M-n | Move line down |
M-[ | Previous buffer |
M-] | Next buffer |
C-c <down> | Move to window down |
C-c <up> | Move to window up |
C-c <right> | Move to window left |
C-c <left> | Move to window right |
C-c e | Emacs eshell |
C-c m | Multi term Zsh |
C-c q | PostgreSQL psql |
C-x k | Kill buffer without prompt |
C-x g | Magit status |
C-x p | Project explorer |
C-x c | Company complete |
Keybinding | Description |
---|---|
C-c a | Org Agenda |
C-c c | Org Capture |
Keybinding | Description |
---|---|
C-c / | Jedi function signature |
C-c v | Change virtual environment |
C-c i | iPython interpreter |
C-c s | Python 2 interpreter |
C-c 3 | Python 3 interpreter |
C-c C-t | Insert ipdb trace |