Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
microtonal
on June 29, 2013
|
parent
|
context
|
favorite
| on:
Sublime Text 3 Public Beta
In fact, most shells (e.g. bash and zsh) have the option to switch from Emacs to vi mode.
jonahx
on June 29, 2013
[–]
`set -o vi` on bash command line to enter vim mode. life changing.
kree10
on June 29, 2013
|
parent
[–]
Also, 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
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: