瀏覽代碼

Use <silent> map

Junegunn Choi 12 年之前
父節點
當前提交
06ced6b640
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plug.vim

+ 1 - 1
plug.vim

@@ -117,7 +117,7 @@ function! plug#end()
         if cmd =~ '^<Plug>.\+'
           if empty(mapcheck(cmd))
             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
         elseif !exists(':'.cmd)
           execute printf(