Oh, you are using the arrow keys in **insert mode**! I hadn't realized.
I have been educated by historic vi to never do such a thing. ;-)

Now I can reproduce:

 1. /etc/vim/vimrc.tiny is sourced by vim.tiny...

...at least when invoked with no options. If instead of using the option
‘--clean’ I just move my .vimrc out of the way, vim.tiny, when invoked
as ‘vi’, does start in compatible mode.

 2. The arrow keys are indeed broken...

...but only in insert mode. They still work fine in command mode.

On the other hand, I don't quite agree this is a bug. It does make sense
for vim to emulate vi when invoked as ‘vi’. If you want vim behavior,
it's just one extra key press.

It could be argued that breaking the arrow keys in insert mode is a
misfeature of classic vi that is not worth emulating. In this case, vim
could be told to emulate classic vi save for this (mis)feature, with:

    set compatible
    set esckeys

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2107647

Title:
  Drop compatible mode for vim-tiny

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/2107647/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to