update vim readme with new mappings and options

This commit is contained in:
Clément DOUIN
2021-05-08 22:26:15 +02:00
parent fada081115
commit ccfc3b0d6e
7 changed files with 80 additions and 24 deletions
+13 -13
View File
@@ -5,17 +5,17 @@ setlocal nomodifiable
setlocal nowrap
call himalaya#shared#bindings#define([
\["n", "gm" , "mbox#pick('himalaya#mbox#set')"],
\["n", "gp" , "mbox#prev_page()" ],
\["n", "gn" , "mbox#next_page()" ],
\["n", "<cr>", "msg#read()" ],
\["n", "gw" , "msg#write()" ],
\["n", "gr" , "msg#reply()" ],
\["n", "gR" , "msg#reply_all()" ],
\["n", "gf" , "msg#forward()" ],
\["n", "ga" , "msg#attachments()" ],
\["n", "gC" , "mbox#pick('himalaya#msg#copy')"],
\["n", "gM" , "mbox#pick('himalaya#msg#move')"],
\["n", "gD" , "msg#delete()" ],
\["v", "gD" , "msg#delete()" ],
\["n", "gm" , "mbox#change" ],
\["n", "gp" , "mbox#prev_page" ],
\["n", "gn" , "mbox#next_page" ],
\["n", "<cr>", "msg#read" ],
\["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" ],
\["v", "gD" , "msg#delete" ],
\])
+10 -6
View File
@@ -1,3 +1,5 @@
syntax on
setlocal bufhidden=wipe
setlocal buftype=nofile
setlocal cursorline
@@ -5,12 +7,14 @@ setlocal filetype=mail
setlocal foldexpr=himalaya#shared#thread#fold(v:lnum)
setlocal foldmethod=expr
setlocal nomodifiable
syntax on
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", "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" ],
\])