projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce5f3f3
)
vim: don't execute search if it's cancelled
author
Felipe Contreras
<felipe.contreras@gmail.com>
Mon, 14 Oct 2013 06:19:50 +0000
(
01:19
-0500)
committer
Felipe Contreras
<felipe.contreras@gmail.com>
Wed, 20 Nov 2013 13:23:29 +0000
(07:23 -0600)
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
vim/notmuch.vim
patch
|
blob
|
history
diff --git
a/vim/notmuch.vim
b/vim/notmuch.vim
index 64038eb5d498cd1b0c4ff31de8f8a88a5dd6367b..cf829a679b4049146f9311b5d6c449296767d165 100644
(file)
--- a/
vim/notmuch.vim
+++ b/
vim/notmuch.vim
@@
-208,6
+208,9
@@
endfunction
function! s:search_search_prompt()
let text = input('Search: ')
+ if text == ""
+ return
+ endif
setlocal modifiable
ruby << EOF
$cur_search = VIM::evaluate('text')