himalaya/vim/ftplugin/himalaya-msg-read.vim
Matthew Toohey 2ac2f53f31
disable cursorline for read/write in vim plugin (#195)
Co-authored-by: mtoohey31 <mtoohey31@users.noreply.github.com>
2021-08-29 22:39:22 +02:00

18 lines
496 B
VimL

setlocal bufhidden=wipe
setlocal buftype=nofile
setlocal filetype=mail
setlocal foldexpr=himalaya#shared#thread#fold(v:lnum)
setlocal foldmethod=expr
setlocal nomodifiable
call himalaya#shared#bindings#define([
\["n", "gw", "msg#write" ],
\["n", "gr", "msg#reply" ],
\["n", "gR", "msg#reply_all" ],
\["n", "gf", "msg#forward" ],
\["n", "ga", "msg#attachments"],
\["n", "gC", "msg#copy" ],
\["n", "gM", "msg#move" ],
\["n", "gD", "msg#delete" ],
\])