Friday, June 22, 2012

Mapping doesn't work when cursor is set in the first column

I use GVim 7.3.566.
Mapping doesn't work when cursor is set in the first column and
mapping begins with 'h'.
Steps to reproduce:

gvim -u NONE -U NONE
:set nocompatible
:nn <leader>a hV
:h
0
<leader>a

Line with cursor should be highligted but it is not.

The same problem occurs when cursor is set in the last column and
mapping begins with 'l'.

The above mapping is just an example. My real mapping is much more
complicated i.e. it begins with '99[(' instead of 'h', but I
investigated a little and found this simpler but similar case.
Is this some kind of bug or intended behaviour?

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: