Loading ...
Sorry, an error occurred while loading the content.
 

Can't remap

Expand Messages
  • sidgalt@gmail.com
    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 to any command (I usually
    Message 1 of 2 , Feb 28, 2010
      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
    • Fritz Mehner
      ... With the following two lines in my ~/.vimrc the mapping for C-j works for me: let g:C_Ctrl_j = off nmap 4j -- You received this
      Message 2 of 2 , Feb 28, 2010
        sidgalt@... 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
      Your message has been successfully submitted and would be delivered to recipients shortly.