Tuesday, December 21, 2010

edit doesn't work properly when remapping "i"

I'm using GVim 7.3.46 on XP32

Here's part of my vimrc:
" Movement
noremap i <Up>
noremap j <Left>
noremap k <Down>
noremap h i

This works in all modes, except when using edit. If I enter edit mode with:
:e C:

I can browse through my filesystem, however the "i" key won't work, instead
of moving up it seems to cycle through hiding/showing various file details.

Any ideas why this is hapenning? Maybe it's a bug, since it only seems to be
a problem with remmaping "i", the following will work fine for example:

noremap ; l
noremap l k
noremap k j
noremap j h

I'm really used to using IJKL however, and I'd prefer that over JKL;.
--
View this message in context: http://vim.1045645.n5.nabble.com/edit-doesn-t-work-properly-when-remapping-i-tp3313871p3313871.html
Sent from the Vim - General mailing list archive at Nabble.com.

--
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: