You are not logged in.
I use the split windows in vim to work on multiple file. I don't know since when it starts to put cursor at the top of the screen instead of the previous position when I switch between the split windows. It is annoying.
I mapped the following lines in vim to do the switch:
map <C-J> <C-W>j<C-W>_
map <C-K> <C-W>k<C-W>_
My VIM version is the newest from the official repository of ARCH.
The same configuration works in Ubuntu, where the current version is also 7.4 (2013 Aug 10). I am wondering whether this is caused by different compiling arguments.
Thanks in advance for any suggestion.
Offline
Is anyone here has the same problem?
Last edited by antiqiuty (2015-04-17 04:02:23)
Offline