Normal commands should be mapped with nnoremap not noremap.
setlocal noswapfile
file [p4 diff\]
" Map q to quit easily.
setlocal noswapfile
file [p4 diff\]
" Map q to quit easily.
- noremap <silent> <buffer> q <C-W>q
+ nnoremap <silent> <buffer> q <C-W>q
" Vim 7.4 really doesn't want us to quit windows from a script.
try
" Vim 7.4 really doesn't want us to quit windows from a script.
try
setlocal noswapfile
file [svn diff\]
" Map q to quit easily.
setlocal noswapfile
file [svn diff\]
" Map q to quit easily.
- noremap <silent> <buffer> q <C-W>q
+ nnoremap <silent> <buffer> q <C-W>q
" Vim 7.4 really doesn't want us to quit windows from a script.
try
" Vim 7.4 really doesn't want us to quit windows from a script.
try