Sunday, February 28, 2010

Re: Can't remap

sidgalt@gmail.com schrieb:
> Hey,
>
> I just installed a vim c/c++ plugin from here
> http://www.vim.org/scripts/script.php?script_id=213.
>
> Now I'm unable to map <C-j> to any command (I usually map it to 4j)
>
> Any help would be appreciated.
>
> Thanks
> --
> 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
With the following two lines in my ~/.vimrc
the mapping for 'C-j' works for me:

let g:C_Ctrl_j = 'off'

nmap <silent> <C-j> 4j

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