Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you are a long time "vi" user, put `set -o vi` in "~/.bashrc": the sequence to issue the previous command with sudo prepended will be <esc>0isudo<enter>, probably something that is in your muscle memory already.


While I'm a very long time vi user, and I'm completely at home with the keybindings, I could never get into using "set -o vi". For me it falls into the uncanny valley of being quite like vi while not actually being vi.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: