From: Bart Trojanowski Date: Fri, 27 Nov 2009 22:43:01 +0000 (-0500) Subject: vim: make it possible to start a search in show mode X-Git-Tag: 0.1~313^2~2 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=16a00de92421e1397e5089d9e9f41b44f4f51c22 vim: make it possible to start a search in show mode --- diff --git a/vim/README b/vim/README index a139dfce..299c7f89 100644 --- a/vim/README +++ b/vim/README @@ -68,9 +68,10 @@ Buffer types: b - toggle folding of message bodies c - toggle folding of citations h - toggle folding of extra header lines + i - toggle folding of signatures m - compose a new message r - reply to the message - s - toggle folding of signatures + s - enter search criteria q - return to search display ? - reveal the message and thread IDs of what's under cursor ^] - search using word under cursor diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index cb7f34f5..c5655617 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -137,11 +137,12 @@ let g:notmuch_show_maps = { \ '': ':call NM_show_next(1, 0)', \ '': ':call NM_search_expand('''')', \ 'q': ':call NM_kill_this_buffer()', + \ 's': ':call NM_search_prompt()', \ \ 'b': ':call NM_show_fold_toggle(''b'', ''bdy'', !g:notmuch_show_fold_bodies)', \ 'c': ':call NM_show_fold_toggle(''c'', ''cit'', !g:notmuch_show_fold_citations)', \ 'h': ':call NM_show_fold_toggle(''h'', ''hdr'', !g:notmuch_show_fold_headers)', - \ 's': ':call NM_show_fold_toggle(''s'', ''sig'', !g:notmuch_show_fold_signatures)', + \ 'i': ':call NM_show_fold_toggle(''s'', ''sig'', !g:notmuch_show_fold_signatures)', \ \ 'a': ':call NM_show_archive_thread()', \ 'A': ':call NM_show_mark_read_then_archive_thread()',