mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
vim: primitive reply to message
This commit is contained in:
parent
ab3ce6196e
commit
e5a25c7692
2 changed files with 9 additions and 1 deletions
|
@ -69,6 +69,7 @@ Buffer types:
|
|||
c - toggle folding of citations
|
||||
h - toggle folding of extra header lines
|
||||
m - compose a new message
|
||||
r - reply to the message
|
||||
s - toggle folding of signatures
|
||||
q - return to search display
|
||||
? - reveal the message and thread IDs of what's under cursor
|
||||
|
|
|
@ -506,7 +506,14 @@ function! s:NM_show_previous_message()
|
|||
endfunction
|
||||
|
||||
function! s:NM_show_reply()
|
||||
echo 'not implemented'
|
||||
let cmd = ['reply']
|
||||
call add(cmd, <SID>NM_show_message_id())
|
||||
call add(cmd, 'AND')
|
||||
call extend(cmd, <SID>NM_get_search_words())
|
||||
|
||||
let data = <SID>NM_run(cmd)
|
||||
let lines = split(data, "\n")
|
||||
call <SID>NM_newComposeBuffer(lines, 0)
|
||||
endfunction
|
||||
|
||||
function! s:NM_show_view_all_mime_parts()
|
||||
|
|
Loading…
Reference in a new issue