In my vimrc file, nmap <tab> v> doesn't work. But other key binding, such as
nmap <s-tab> v<
vmap <tab> >gv
vmap <s-tab> <gv
Do work.
I tried to search for <tab> in vimrc, and found just one:
nmap <tab> v>
This is my complete vimrc:
https://github.com/arcticlion/dotfile/blob/master/.vimrc
https://github.com/arcticlion/dotfile/blob/master/.vim/plugin.vim
Plugin 'ervandew/supertab'in your vimrc ... I expect that probably changes some Tab key behaviour? Does it work when you use vimrc with no plugins or even no vimrc file? See: How do I debug my vimrc file?. – Martin Tournoij Feb 24 '15 at 19:11>>and<<instead of entering Visual mode withv>andv<. Analogous todd,>>and<<operate on the current line. – tommcdo Feb 24 '15 at 19:16nmap. Always usennoremap. If something else in yourvimrcremapsvyournmapwill pickup that mapped character and cause trouble. Read the end of http://learnvimscriptthehardway.stevelosh.com/chapters/05.html – John Oxley Nov 06 '15 at 16:59