fix broken setting vim (#120)

This commit is contained in:
Clément DOUIN 2021-04-23 18:05:03 +02:00
parent c61ddf3ac5
commit dd098399dc
No known key found for this signature in database
GPG key ID: 69C9B9CFFDEE2DEF
2 changed files with 1 additions and 7 deletions

View file

@ -2,11 +2,8 @@ setlocal bufhidden=wipe
setlocal buftype=nofile
setlocal cursorline
setlocal foldexpr=himalaya#shared#thread#fold(v:lnum)
setlocal foldlevel=0
setlocal foldlevelstart=0
setlocal foldmethod=expr
setlocal nomodifiable
setlocal nowrap
setlocal startofline
call himalaya#shared#bindings#define([

View file

@ -1,12 +1,9 @@
setlocal cursorline
setlocal foldexpr=himalaya#shared#thread#fold(v:lnum)
setlocal foldlevel=0
setlocal foldlevelstart=0
setlocal foldmethod=expr
setlocal nowrap
setlocal startofline
augroup himalaya
augroup himalaya_write
autocmd! * <buffer>
autocmd BufWriteCmd <buffer> call himalaya#msg#draft_save()
autocmd BufUnload <buffer> call himalaya#msg#draft_handle()