use either 'e' or 'i' for empty buffer

People seem to like both, so I made both of them defaults.
(I changed [i] back to [e] nevertheless.)
This commit is contained in:
Marco Hinz 2013-04-30 00:03:47 +02:00
parent b5ec1605cc
commit a5021aacdd
4 changed files with 17 additions and 6 deletions

View file

@ -47,7 +47,7 @@ function! s:insane_in_the_membrane() abort
let cnt = 0
if special
call append('$', ' [i] <empty buffer>')
call append('$', ' [e] <empty buffer>')
endif
if get(g:, 'startify_show_files', 1) && !empty(v:oldfiles)
@ -99,6 +99,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>