installoptional -a vim to get Vim, but it’s missing functionality that Ubuntu’s vim-full offers.
The main thing I want is to be able to use the arrow keys in insert mode. As it stands, the arrow keys insert the letters A, B, C, and D at the beginning of the current edit line.
Been a while since this question was posed(!), but as I’ve just solved the same problem on my machine (which I’ve been suffering from too, but couldn’t get round to investigating!) I thought I’d better pass the solution on.
You need the file ‘/boot/home/config/settings/vim/vimrc’. It doesn’t actually have to contain anything, though! I started out with the ‘~/.vimrc’ I’ve always used on Linux, and started removing lines to see what was needed. I eventually removed all the lines, and the arrow keys still work!
Hope that does the job for others, too.