use <silent> with insert-mode mappings to avoid commands being echoed

This commit is contained in:
Josh Holtrop 2013-01-15 14:11:20 -05:00
parent ec3e1990ae
commit 26f9f5cf56

4
vimrc
View File

@ -81,8 +81,8 @@ vnoremap <C-J> <Esc>
vnoremap < <gv vnoremap < <gv
vnoremap > >gv vnoremap > >gv
inoremap <C-Space> <C-o>:call PtagSymbolBeforeParen()<CR> inoremap <silent> <C-Space> <C-o>:call PtagSymbolBeforeParen()<CR>
inoremap <C-S-Space> <C-o>:pclose<CR> inoremap <silent> <C-S-Space> <C-o>:pclose<CR>
if has("autocmd") if has("autocmd")
autocmd FileType text setlocal noautoindent autocmd FileType text setlocal noautoindent