projects
/
notmuch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfb18a6
)
add 's' binding to let you search for different terms
author
Bart Trojanowski
<bart@jukie.net>
Thu, 19 Nov 2009 02:13:46 +0000
(21:13 -0500)
committer
Bart Trojanowski
<bart@jukie.net>
Wed, 25 Nov 2009 05:48:49 +0000
(
00:48
-0500)
vim/plugin/notmuch.vim
patch
|
blob
|
history
diff --git
a/vim/plugin/notmuch.vim
b/vim/plugin/notmuch.vim
index 00ee98427ccca5269eba347f8d1265d02bf11b67..77e3021d6ea2b6a00d78404c4f0de4b88705cdc4 100644
(file)
--- 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