From: Bart Trojanowski Date: Thu, 19 Nov 2009 02:13:46 +0000 (-0500) Subject: add 's' binding to let you search for different terms X-Git-Tag: 0.1~313^2~102 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=02fbef68c5c433513fe3a3a71dde83f39d770bad add 's' binding to let you search for different terms --- 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