himalaya/email-manager/vim/ftplugin/himalaya-msg-read.vim
Clément DOUIN ad7cd28a3c
init cargo workspace (#252)
* init cargo workspaces

* nix: fix assets path

* doc: update rtp vim plugin

* vim: add error message if loading vim plugin from vim/
2021-10-31 19:30:53 +01: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" ],
\])