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
2 changed files with 1 additions and 7 deletions
-3
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([
+1 -4
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()