diff options
author | Bart Trojanowski <bart@jukie.net> | 2009-11-18 21:13:46 -0500 |
---|---|---|
committer | Bart Trojanowski <bart@jukie.net> | 2009-11-25 00:48:49 -0500 |
commit | 02fbef68c5c433513fe3a3a71dde83f39d770bad (patch) | |
tree | cc9b41f30fbbc4a42efffb1754816dc1496df043 /vim | |
parent | cfb18a6cbb3e247c910c427ec2dce96740870730 (diff) |
add 's' binding to let you search for different terms
Diffstat (limited to 'vim')
-rw-r--r-- | vim/plugin/notmuch.vim | 1 |
1 files changed, 1 insertions, 0 deletions
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 <buffer> <Enter> :call <SID>NM_search_display()<CR> + nnoremap <buffer> s :call <SID>NM_cmd_search(split(input('NotMuch Search:')))<CR> setlocal cursorline setlocal nowrap endfunction |