Text Editing - Keybindings
If you don't know at least the keybindings of Emacs or Vim, you're doing text editing wrong. You'll be more productive once you master either of the two. If you haven't configured the rest of your tools to use either Emacs or Vim keybindings, you should.
Use the following references to get you started. Choose your poison. I know both, but I prefer Emacs, although I might try emacs-evil in the future:
- Emacs Keybinding Reference
- Vim Keybinding Reference
- Intellij Emacs Bindings
- Eclipse Emacs Bindings
- Eclipse Vim Bindings
- GTK Emacs Bindings
- Emacs Vim Bindings
- Firefox Emacs Bindings for Vimperator
- Chrome Emacs Bindings for Vimium
- Firefox Vim Bindings
- Chrome Vim Bindings
While Vim bindings might be more efficient, I prefer Emacs bindings because:
- OSX has Emacs bindings by default.
- ZSH and Bash has Emacs bindings as the defaults, although you can use Vim bindings if you like.
- Readline has Emacs bindings as the default. You can configure it to use Vim bindings instead, but it's non-trivial.
- Tmux and screen has Emacs bindings as the defaults. You can configure them to use Vim bindings instead.
- I can.
You might prefer Vim bindings because:
- No chording.
- Modal editing.
- Chainable commands.
- Some websites have Vim keybindings (9gag and gmail for example).
Written by Evan Dale Aromin
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Emacs
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#