mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 10:58:10 +01:00
add 's' binding to let you search for different terms
This commit is contained in:
parent
cfb18a6cbb
commit
02fbef68c5
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ function! s:NM_cmd_search(words)
|
||||||
let b:nm_raw_data = lines
|
let b:nm_raw_data = lines
|
||||||
|
|
||||||
nnoremap <buffer> <Enter> :call <SID>NM_search_display()<CR>
|
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 cursorline
|
||||||
setlocal nowrap
|
setlocal nowrap
|
||||||
endfunction
|
endfunction
|
||||||
|
|
Loading…
Reference in a new issue