mirror of
https://github.com/pimalaya/himalaya.git
synced 2026-06-17 05:07:55 +08:00
update vim readme with new mappings and options
This commit is contained in:
@@ -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" ],
|
||||
\])
|
||||
|
||||
@@ -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" ],
|
||||
\])
|
||||
|
||||
Reference in New Issue
Block a user