瀏覽代碼

Make all mappings silent

Closes #123.
Daniel Hahler 11 年之前
父節點
當前提交
697d008f1b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      autoload/startify.vim

+ 2 - 2
autoload/startify.vim

@@ -143,8 +143,8 @@ function! startify#insane_in_the_membrane() abort
   nnoremap <buffer><silent> s             :call <sid>set_mark('S')<cr>
   nnoremap <buffer><silent> t             :call <sid>set_mark('T')<cr>
   nnoremap <buffer><silent> v             :call <sid>set_mark('V')<cr>
-  nnoremap <buffer>         <cr>          :call <sid>open_buffers(expand('<cword>'))<cr>
-  nnoremap <buffer>         <2-LeftMouse> :execute 'normal' matchstr(getline('.'), '\w\+')<cr>
+  nnoremap <buffer><silent> <cr>          :call <sid>open_buffers(expand('<cword>'))<cr>
+  nnoremap <buffer><silent> <2-LeftMouse> :execute 'normal' matchstr(getline('.'), '\w\+')<cr>
   nnoremap <buffer><silent> q             :call <sid>close()<cr>
 
   call cursor(s:firstline + (s:show_special ? 2 : 0), 5)