]> git.cworth.org Git - obsolete/notmuch-old/blobdiff - vim/plugin/notmuch.vim
add 's' binding to let you search for different terms
[obsolete/notmuch-old] / vim / plugin / notmuch.vim
index 00ee98427ccca5269eba347f8d1265d02bf11b67..77e3021d6ea2b6a00d78404c4f0de4b88705cdc4 100644 (file)
@@ -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