Просмотр исходного кода

Revert "Bang normal commands"

I forgot that I used no bang on purpose here. I'm very sorry for the
inconvenience.

This reverts commit b63c09907d267a93b4407a4d19db53d21075130e.

Closes #55.
Marco Hinz 12 лет назад
Родитель
Сommit
55d7bec03a
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      autoload/startify.vim

+ 2 - 2
autoload/startify.vim

@@ -100,7 +100,7 @@ function! startify#insane_in_the_membrane() abort
   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>         <2-LeftMouse> :execute 'normal' matchstr(getline('.'), '\w\+')<cr>
   nnoremap <buffer><silent> q             :call <sid>close()<cr>
 
   if exists('g:startify_empty_buffer_key')
@@ -450,7 +450,7 @@ function! s:open_buffers(cword) abort
     endif
   " no markers found; open a single buffer
   else
-    execute 'normal!' a:cword
+    execute 'normal' a:cword
   endif
 endfunction