Hello All,
I am having some trouble with vim and I have looked all over google and the only examples I have found do not work.
I am trying to create a shortcut so when I press 'n' (for example) it goes to the next tab.
What google tells me to do is...
This is almost close but vim simply tries to run
So it is printing <CR> rather than simulating pressing of that key which is pretty annoying.
I have tried <CR> <Return> <Enter> but they all just print out rather than pressing the key
Any Vim experts about?
I am having some trouble with vim and I have looked all over google and the only examples I have found do not work.
I am trying to create a shortcut so when I press 'n' (for example) it goes to the next tab.
What google tells me to do is...
Code:
:map n :tabn<CR>
This is almost close but vim simply tries to run
Code:
:tabn<CR>
So it is printing <CR> rather than simulating pressing of that key which is pretty annoying.
I have tried <CR> <Return> <Enter> but they all just print out rather than pressing the key
Any Vim experts about?