diff options
author | Bart Trojanowski <bart@jukie.net> | 2009-11-27 17:43:01 -0500 |
---|---|---|
committer | Bart Trojanowski <bart@jukie.net> | 2009-11-27 17:43:01 -0500 |
commit | 16a00de92421e1397e5089d9e9f41b44f4f51c22 (patch) | |
tree | 7e33e0fe1934b062700c0b55696b32e85412ec41 /vim | |
parent | dffee11a40dd85b174b726b602a3f53112229aff (diff) |
vim: make it possible to start a search in show mode
Diffstat (limited to 'vim')
-rw-r--r-- | vim/README | 3 | ||||
-rw-r--r-- | vim/plugin/notmuch.vim | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -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 = { \ '<C-N>': ':call <SID>NM_show_next(1, 0)<CR>', \ '<C-]>': ':call <SID>NM_search_expand(''<cword>'')<CR>', \ 'q': ':call <SID>NM_kill_this_buffer()<CR>', + \ 's': ':call <SID>NM_search_prompt()<CR>', \ \ 'b': ':call <SID>NM_show_fold_toggle(''b'', ''bdy'', !g:notmuch_show_fold_bodies)<CR>', \ 'c': ':call <SID>NM_show_fold_toggle(''c'', ''cit'', !g:notmuch_show_fold_citations)<CR>', \ 'h': ':call <SID>NM_show_fold_toggle(''h'', ''hdr'', !g:notmuch_show_fold_headers)<CR>', - \ 's': ':call <SID>NM_show_fold_toggle(''s'', ''sig'', !g:notmuch_show_fold_signatures)<CR>', + \ 'i': ':call <SID>NM_show_fold_toggle(''s'', ''sig'', !g:notmuch_show_fold_signatures)<CR>', \ \ 'a': ':call <SID>NM_show_archive_thread()<CR>', \ 'A': ':call <SID>NM_show_mark_read_then_archive_thread()<CR>', |