use 'i' instead of 'e' for empty buffer
I guess most people are used to just write away via 'i' after entering Vim. So this change adheres to them. (Say "Thanks!" to @Osse) If you don't like this change consider creating an additional, hidden key for creating the empty buffer: let g:startify_empty_buffer_key = 'e'
This commit is contained in:
parent
5cfbde36c1
commit
80f6ca4323
2 changed files with 3 additions and 3 deletions
|
@ -42,7 +42,7 @@ function! s:insane_in_the_membrane() abort
|
|||
endif
|
||||
setfiletype startify
|
||||
|
||||
call append('$', ' [e] <empty buffer>')
|
||||
call append('$', ' [i] <empty buffer>')
|
||||
let cnt = 0
|
||||
let sep = startify#get_sep()
|
||||
|
||||
|
@ -91,7 +91,7 @@ function! s:insane_in_the_membrane() abort
|
|||
|
||||
setlocal nomodifiable nomodified
|
||||
|
||||
nnoremap <buffer><silent> e :enew<cr>
|
||||
nnoremap <buffer><silent> i :enew<cr>
|
||||
nnoremap <buffer> <cr> :normal <c-r><c-w><cr>
|
||||
nnoremap <buffer> <2-LeftMouse> :execute 'normal '. matchstr(getline('.'), '\w\+')<cr>
|
||||
nnoremap <buffer> q
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue