From: Jason Woofenden Date: Mon, 11 Jul 2011 05:40:08 +0000 (-0400) Subject: vim: fix on-screen instructions for show-signature X-Git-Tag: 0.7_rc1~8 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;ds=inline;h=3de487d405f7bf57e959d58ae856afcce6e277fe;p=notmuch vim: fix on-screen instructions for show-signature Also change a passed parameter to be consistent with the current binding. This parameter appears to be unused. Signed-off-by: Felipe Contreras --- diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 255df071..4ad992be 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -149,7 +149,7 @@ let g:notmuch_show_maps = { \ '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)', - \ 'i': ':call NM_show_fold_toggle(''s'', ''sig'', !g:notmuch_show_fold_signatures)', + \ 'i': ':call NM_show_fold_toggle(''i'', ''sig'', !g:notmuch_show_fold_signatures)', \ \ 'I': ':call NM_show_mark_read_thread()', \ 'a': ':call NM_show_archive_thread()', @@ -757,7 +757,7 @@ function! s:NM_cmd_show_parse(inlines) let mode_type = '' elseif part_end let foldinfo = [ mode_type, mode_start, outlnum-1, len(info['msgs']), - \ printf('[ %d-line signature. Press "s" to show. ]', outlnum - mode_start) ] + \ printf('[ %d-line signature. Press "i" to show. ]', outlnum - mode_start) ] let mode_type = '' endif endif