mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 18:47:29 -07:00
Use <silent> map
This commit is contained in:
parent
3732cdfabb
commit
06ced6b640
2
plug.vim
2
plug.vim
@ -117,7 +117,7 @@ function! plug#end()
|
|||||||
if cmd =~ '^<Plug>.\+'
|
if cmd =~ '^<Plug>.\+'
|
||||||
if empty(mapcheck(cmd))
|
if empty(mapcheck(cmd))
|
||||||
execute printf(
|
execute printf(
|
||||||
\ "noremap %s :call <SID>lod_map(%s, %s)<CR>", cmd, string(cmd), string(plug))
|
\ "noremap <silent> %s :call <SID>lod_map(%s, %s)<CR>", cmd, string(cmd), string(plug))
|
||||||
endif
|
endif
|
||||||
elseif !exists(':'.cmd)
|
elseif !exists(':'.cmd)
|
||||||
execute printf(
|
execute printf(
|
||||||
|
Loading…
Reference in New Issue
Block a user