3 ms·
fish shell has a vim mode for anyone interested
by fimdomeio 9y ago
fish shell has a vim mode for anyone interested
- hnzix 9y agoBash and zsh also have vim mode. The bash mode is more like vi though.
- egwynn 9y agoIndeed, it’s in fact called “vi mode” in the bash/readline docs.
- xelxebar 9y agoThis is actually a readline thing, so you can edit your $HOME/.inputrc with set editing-mode vi and get the vi bindings in everything that supports readline, e.g. the Python shell etc. There's tons more that can be customized here. You can even have it put the current vi mode in your prompt and stuff like that. https://www.gnu.org/software/bash/manual/html_node/Readline-Init-File.html https://www.gnu.org/software/bash/manual/html_node/Readline-...