I've been trying to create a shortcut for switching between open window splits in vim, rather than having to use ctrl+w+[arrowkey] I would prefer to just be able to use ctrl+[arrow keys].
This is what I currently have in my vimrc:
map <silent> <C-v> <c-w>v
map <silent> <C-Left> <c-w>h
map <silent> <C-Down> <c-w>j
map <silent> <C-Up> <c-w>k
map <silent> <C-Right> <c-w>l
The first shortcut for doing the vsplit works fine, however none of the others work. I've tried several variations of this and yet none of them do anything.
I'm using standard debian wheezy with KDE, vim is running from konsole and the only plugins I have installed are NERDTree and Airline.
I'm hoping someone can help provide a solution because I've been searching online for hours and trying hundreds of options and nothing seems to make any difference.
EDIT verbatim insert for the shortcuts doesn't output anything at all, neither in shell or vim.
<c-arrow>
– FDinoffnmap <silent> <C-v> <c-w>v nmap <silent> <C-h> <c-w>h nmap <silent> <C-j> <c-w>j nmap <silent> <C-k> <c-w>k nmap <silent> <C-l> <c-w>l
– Kyle Challis