Reputation: 563
I have installed RopeVim and I am unable to get the shortcuts working. This is where I'm at:
g:ropevim_enable_shortcuts
is set to 1 (default value)
When I run :map
I can see my shortcuts being mapped, here is an extract of the output:
...
<C-U> * :call smooth_scroll#up(&scroll, 0, 2)<CR>
<C-C>f :call RopeFindOccurrences()<CR>
<C-C>d :call RopeShowDoc()<CR>
...
<C-X>pnf :call RopeCreateFile()<CR>
<C-X>pnd :call RopeCreateDirectory()<CR>
...
In this output, I've noticed that the difference between ropevim shortcuts and the rest is the *
, which means its a non-recursive map. In fact, if add noremap <C-X>pnf :call RopeCreateFile()
to my .vimrc
it works!
I've tried as well different maps using and but I couldn't get it to work neither.
I could use that workaround and define all shortcuts are noremap in .vimrc
but I wonder if there is a better solution
Upvotes: 1
Views: 51
Reputation: 563
After removing all my plugins and my .vimrc it worked. So I've started adding it all back and found the issue was with the second line:
noremap ; :
noremap : <nop>
I've initially added it to stop me from using ':' and force me to use the shortcut ';' instead.
Upvotes: 1