mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
vim: primitive reply to thread
This commit is contained in:
parent
0ef04e14ff
commit
ab3ce6196e
2 changed files with 9 additions and 1 deletions
|
@ -47,6 +47,7 @@ Buffer types:
|
|||
f - filter the current search terms
|
||||
o - toggle search screen order
|
||||
m - compose a new message
|
||||
r - reply to thread
|
||||
s - enter search criteria
|
||||
,s - alter search criteria
|
||||
t - filter the current search terms with tags
|
||||
|
|
|
@ -347,7 +347,14 @@ function! s:NM_search_toggle_order()
|
|||
endfunction
|
||||
|
||||
function! s:NM_search_reply_to_thread()
|
||||
echo 'not implemented'
|
||||
let cmd = ['reply']
|
||||
call add(cmd, <SID>NM_search_thread_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_search_add_tags(tags)
|
||||
|
|
Loading…
Reference in a new issue