Remove g:startify_empty_buffer_key
This is an unnecessary option. It can be done like this: autocmd User Startified nnoremap <buffer><silent>X :enew<cr>
This commit is contained in:
parent
88a3c7e420
commit
fa866e16f1
2 changed files with 0 additions and 14 deletions
|
@ -143,10 +143,6 @@ function! startify#insane_in_the_membrane(callingbuffer) abort
|
|||
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')
|
||||
execute 'nnoremap <buffer><silent> '. g:startify_empty_buffer_key .' :enew<cr>'
|
||||
endif
|
||||
|
||||
autocmd startify CursorMoved <buffer> call s:set_cursor()
|
||||
if s:restore_position
|
||||
autocmd startify BufReadPost * call s:restore_position()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue