himalaya/vim/ftplugin/himalaya-msg-read.vim
2021-04-04 14:25:55 +02:00

19 lines
472 B
VimL

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([
\["n", "gw", "msg#write" ],
\["n", "gr", "msg#reply" ],
\["n", "gR", "msg#reply_all" ],
\["n", "gf", "msg#forward" ],
\["n", "ga", "msg#attachments"],
\])