Control + Right = end
Control + Left = home
Control + down = page down
COntrol + up = page up
I want these to work, regardless of what mode (insert or not) I'm in.
What do I put into my .vimrc?
Control + Right = end
Control + Left = home
Control + down = page down
COntrol + up = page up
I want these to work, regardless of what mode (insert or not) I'm in.
What do I put into my .vimrc?
:map <C-Right> <End>
:map <C-Left> <Home>
:map <C-Down> <PageDown>
:map <C-Up> <PageUp>
should do it.
Or
:imap <C-Right> <End>
:imap <C-Left> <Home>
:imap <C-Down> <PageDown>
:imap <C-Up> <PageUp>
:nmap <C-Right> <End>
:nmap <C-Left> <Home>
:nmap <C-Down> <PageDown>
:nmap <C-Up> <PageUp>