Hacker News new | ask | show | jobs
by roi 2143 days ago
Most command-line interfaces use the readline library. To switch them to vi bindings put the following in ~/.inputrc:

  set editing-mode vi