mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-29 14:14:12 +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
|
c - toggle folding of citations
|
||||||
h - toggle folding of extra header lines
|
h - toggle folding of extra header lines
|
||||||
m - compose a new message
|
m - compose a new message
|
||||||
|
r - reply to the message
|
||||||
s - toggle folding of signatures
|
s - toggle folding of signatures
|
||||||
q - return to search display
|
q - return to search display
|
||||||
? - reveal the message and thread IDs of what's under cursor
|
? - reveal the message and thread IDs of what's under cursor
|
||||||
|
|
|
@ -506,7 +506,14 @@ function! s:NM_show_previous_message()
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:NM_show_reply()
|
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
|
endfunction
|
||||||
|
|
||||||
function! s:NM_show_view_all_mime_parts()
|
function! s:NM_show_view_all_mime_parts()
|
||||||
|
|
Loading…
Reference in a new issue