add 's' binding to let you search for different terms

This commit is contained in:
Bart Trojanowski 2009-11-18 21:13:46 -05:00
parent cfb18a6cbb
commit 02fbef68c5

View 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