I want to reassign another key combination, say CTRL - G , to function as CTRL - D (note: not the same as S - Down / PageDown / CTRL -. F )
What I still have:
nmap ^G :exe 'normal '.&scroll.'^E<CR>'
Raising my vim command mode and typing it, it works fine. However, when I save my .vimrc and reload vim, I get the following error when I press CTRL - G :
E114: Missing quote: ' E15: Invalid expression: 'normal '.&scroll.'
He seems to be stuck in not evaluating ^ E accordingly. However, I did not fully use the use or any other way of specifying CTRL - E. What am I missing here?
source share