aboutsummaryrefslogtreecommitdiffhomepage
path: root/vim/notmuch.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/notmuch.vim')
-rw-r--r--vim/notmuch.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/notmuch.vim b/vim/notmuch.vim
index 64038eb5..cf829a67 100644
--- 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')