VI Mode in any shell
Assuming that you love using VIM
and the terminal, here’s a cool mode that can be activated on Zsh or any shell rather. (I am using Zsh, so, I will talk about it)
Enable vim mode
on Zsh by adding this line into your .zshrc
.
bindkey -v
Basically this means to enable vim mode
When this is enabled, refresh your shell and you can insert texts after pressing i
and if you want to run any text-object related moves, just press Esc
and the normal hjkl, b, w, ciw, diw, ^, 0, $
will work! Exactly like in vim!