3 ms·
> Upon leaving vim none of the key bindings are never used in any other program. That's actually not true at all. Lots of terminal programs have keybindings fo
by nilkn 13y ago
> Upon leaving vim none of the key bindings are never used in any other program.
That's actually not true at all. Lots of terminal programs have keybindings for stuff like hjkl. Even tig does. And if you're using git from the command line and haven't heard of tig, you need to look it up.
Even many roguelike games support vim keybindings for movement. Brogue is an example.
- danieldk 13y agoIn fact, most shells (e.g. bash and zsh) have the option to switch from Emacs to vi mode.
- jonahx 13y ago`set -o vi` on bash command line to enter vim mode. life changing.
- kree10 13y agoAlso, this will turn on vi-style line editing in programs using GNU readline (things like mysql, psql, sqlite3): echo "set editing-mode vi" > ~/.inputrc For programs linked against libedit instead (as on OS X): echo "bind -v" > ~/.editrc