X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=vim%2Fplugin%2Fnotmuch.vim;h=9932e3f16095e65931280701cda284b7b21ea233;hb=e5a25c769240a91b1b5bc5e4349e85ec368b5cfb;hp=23feb7de3a5c0603d092bfdd2c3c5f9ce4c8b715;hpb=ab3ce6196ee32ce19626d6f11bc3763dd13bce66;p=notmuch 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, NM_show_message_id()) + call add(cmd, 'AND') + call extend(cmd, NM_get_search_words()) + + let data = NM_run(cmd) + let lines = split(data, "\n") + call NM_newComposeBuffer(lines, 0) endfunction function! s:NM_show_view_all_mime_parts()