Bang normal commands
This commit is contained in:
parent
bec18a1fa4
commit
b63c09907d
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ function! startify#insane_in_the_membrane() abort
|
||||||
nnoremap <buffer><silent> t :call <sid>set_mark('T')<cr>
|
nnoremap <buffer><silent> t :call <sid>set_mark('T')<cr>
|
||||||
nnoremap <buffer><silent> v :call <sid>set_mark('V')<cr>
|
nnoremap <buffer><silent> v :call <sid>set_mark('V')<cr>
|
||||||
nnoremap <buffer> <cr> :call <sid>open_buffers(expand('<cword>'))<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>
|
nnoremap <buffer><silent> q :call <sid>close()<cr>
|
||||||
|
|
||||||
if exists('g:startify_empty_buffer_key')
|
if exists('g:startify_empty_buffer_key')
|
||||||
|
@ -450,7 +450,7 @@ function! s:open_buffers(cword) abort
|
||||||
endif
|
endif
|
||||||
" no markers found; open a single buffer
|
" no markers found; open a single buffer
|
||||||
else
|
else
|
||||||
execute 'normal' a:cword
|
execute 'normal!' a:cword
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue