How can I switch to Vim mode in FreeBSD shell?
I echoed the value of $SHELL and it is /bin/csh however man csh opens tsch's manual page.
set -o and shopts are not available as well.
And /etc/inputrc (Readline) is not there too.
Should I install bash or is it possible to have Vim line editing mode rather than Emacs natively, without having to install other shells?
Thanks in advance.
I am on FreeBSD 11.
tcshmanual, you should be able to usebindkey -vto switch to Vi keybindings. If you get thetcshmanual when you doman cshit probably means thatcshis in facttcshor at least thattcshis installed on the system already.tcshexclusively, andcshdon't havevimode at all. First, when I issued that command I expected the cursor to "drop" to the previous character as in the case withbashandfish, andzshif I'm not wrong; it didn't, so I inferred it didn't switched the mode (after pressingEscor^[that is). It's actually more appropriate to not to drop (the cursor) to the previous character when switching the mode, and it's faster. :)