|
|
# The last editor you will ever have to learn.
|
|
|
|
|
|
While the learning curve is steep used well your productivity can never stop improving.
|
|
|
|
|
|
**Note** The ergonomics of the default emacs keyboard setup are highly questionable.
|
|
|
I suggest never getting used to them.
|
|
|
|
|
|
The primary modifier key in EMACS is the CTRL key, followed distantly by another modifier know as META. By default this leaves your pinkies carying most of the weight of operating the editor, not a good scene.
|
|
|
|
|
|
## Vanilla
|
|
|
|
|
|
## Extremely Useful packages
|
|
|
There are several package managers at this point (i.e. apt/brew for emacs)
|
|
|
* [el-get](el_get) (suggested)
|
|
|
* Melpa
|
|
|
* Package
|
|
|
|
|
|
### Helm (suggested)
|
|
|
A very advanced version of autocompletion. This can be hooked into most things you have to select in EMACS and will drastically reduce how many characters you need to type and how much you need to remember. If you thought the ubuntu shell, spotlight, or cortana might be usefull this is what they could be.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Emacs is some binary machinery and a great deal of emacs lisp (elisp). This means the majority of the editor is modifiable at runtime.
|
|
|
```elisp
|
|
|
(setq ns-alternate-modifier 'meta)
|
|
|
(setq ns-command-modifier 'control)
|
|
|
(setq ns-control-modifier 'super)
|
|
|
(define-key global-map [home] 'beginning-of-line)
|
|
|
(define-key global-map [end] 'end-of-line)
|
|
|
|
|
|
(add-hook 'comint-output-filter-functions
|
|
|
'comint-watch-for-password-prompt)
|
|
|
|
|
|
``` |