diff options
author | Bart Trojanowski <bart@jukie.net> | 2009-11-27 16:52:00 -0500 |
---|---|---|
committer | Bart Trojanowski <bart@jukie.net> | 2009-11-27 16:52:00 -0500 |
commit | e5a25c769240a91b1b5bc5e4349e85ec368b5cfb (patch) | |
tree | 96f39528edf261766b96896d13896a16709cb64f /vim/plugin | |
parent | ab3ce6196ee32ce19626d6f11bc3763dd13bce66 (diff) |
vim: primitive reply to message
Diffstat (limited to 'vim/plugin')
-rw-r--r-- | vim/plugin/notmuch.vim | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 23feb7de..9932e3f1 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -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() |