mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
vim: make it possible to start a search in show mode
This commit is contained in:
parent
dffee11a40
commit
16a00de924
2 changed files with 4 additions and 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
|
||||
|
|
|
@ -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>',
|
||||
|
|
Loading…
Reference in a new issue