Have you ever noticed that the default vi
key bindings on the Raspberry Pi
are a little wacky? For example, while in insert mode, try using the arrow keys to navigate. Not happening :)
Is this a subtle way of getting us to use insert and command mode properly or maybe the bindings were just overlooked when the image was built?
I'm quite used to a certain key mapping in Fedora/Debian that allows the use of navigation keys while in insert mode. To get the familiar bindings I'm used to, do I need to fiddle with terminal emulation or some sort of configuration file somewhere?
vim
and what you're now experiencing is trulyvi
. On modern distros, thevi
command is often syslinked tovim
.stty sane
and setting your TERM variable (export TERM=linux
is usually easiest for me to remember)