mirror of
https://github.com/junegunn/vim-plug.git
synced 2026-10-09 23:05:47 +08:00
Use <silent> map
This commit is contained in:
1 parent
3732cdfabb
commit
06ced6b640
1 file changed
+1
-1
@@ -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(
|
||||||
|
|||||||
Reference in new issue
Block a user