Mr.SpOOn wrote:
Hi,
I'm trying to use these mappings:

map <C-j> <C-W>j
map <C-k> <C-W>k
map <C-h> <C-W>h
map <C-l> <C-W>l

They usually work fine, but sometimes (I don't understand exactly
when) the c-j mapping does other things. In this moment, while I'm
editing a php it brings me to the "insert mode".

In my vimrc that is the only setting regarding c-j. Is there some
basic vim setting that use c-j to switch to insert mode?
What else may I check?
I suggest that you use

nn <c-j> <c-w>j
etc.

so that you don't get remapped, and keep the mapping active only in normal mode.

Regards,
Chip Campbell

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to