I'd like to be able to use vi
keybindings in the Chrome JavaScript console (cmd-opt-J in OS X, ctrl-shift-J elsewhere, I think). Basically, I want to be able to hop around and edit like I do in vim
.
I use vi
keybindings all over the terminal, such as irb
, bash
, python
, mysql
, sqlite3
, etc. and I find them great for quick interactive development. (All those programs use GNU readline, so they respect my ~/.inputrc
.) Currently, Chrome is one of the few places I can code but not use vi
keybindings.
Any extensions or settings I can use for this?
node
used GNU readline... but it doesn't. :(