use no scratch buffer anymore

Closes #6.
This commit is contained in:
Marco Hinz 2013-04-26 12:40:42 +02:00
parent c92a2dd4a7
commit ed601090cc

View file

@ -30,7 +30,7 @@ function! s:insane_in_the_membrane() abort
endif endif
endfor endfor
endif endif
setlocal nonumber noswapfile buftype=nofile bufhidden=wipe setlocal nonumber noswapfile bufhidden=wipe
if v:version >= 703 if v:version >= 703
setlocal norelativenumber setlocal norelativenumber
endif endif
@ -86,7 +86,7 @@ function! s:insane_in_the_membrane() abort
call append('$', ['', ' [q] quit']) call append('$', ['', ' [q] quit'])
setlocal nomodifiable setlocal nomodifiable nomodified
nnoremap <buffer> q :quit<cr> nnoremap <buffer> q :quit<cr>
nnoremap <buffer><silent> e :enew<cr> nnoremap <buffer><silent> e :enew<cr>