From 02fbef68c5c433513fe3a3a71dde83f39d770bad Mon Sep 17 00:00:00 2001 From: Bart Trojanowski Date: Wed, 18 Nov 2009 21:13:46 -0500 Subject: [PATCH] add 's' binding to let you search for different terms --- vim/plugin/notmuch.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 00ee9842..77e3021d 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -47,6 +47,7 @@ function! s:NM_cmd_search(words) let b:nm_raw_data = lines nnoremap :call NM_search_display() + nnoremap s :call NM_cmd_search(split(input('NotMuch Search:'))) setlocal cursorline setlocal nowrap endfunction -- 2.26.2