Reputation: 2283
nnoremap <C-n> :call NumberToggle()<cr>
I tried ctrl-n and it doesn't work. I've completely forgotten how to call this and google hasn't been my friend tonight.
Upvotes: 1
Views: 63
Reputation: 172510
The mapping definition looks fine and should work in normal mode. If <C-n>
doesn't work, the mapping probably has been overwritten. Check with
:verbose nmap <C-n>
If this yields a different plugin / configuration, you have to change either (e.g. to <Leader>n
) to resolve the conflict.
Upvotes: 5