himalaya/vim/ftplugin/himalaya-msg-read.vim
2021-05-09 13:04:03 +02:00

19 lines
516 B
VimL

setlocal bufhidden=wipe
setlocal buftype=nofile
setlocal cursorline
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" ],
\])