projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fe89c4
)
make <Enter> from search screen display the correct message
author
Bart Trojanowski
<bart@jukie.net>
Thu, 19 Nov 2009 02:27:50 +0000
(21:27 -0500)
committer
Bart Trojanowski
<bart@jukie.net>
Wed, 25 Nov 2009 05:48:49 +0000
(
00:48
-0500)
vim/plugin/notmuch.vim
patch
|
blob
|
history
diff --git
a/vim/plugin/notmuch.vim
b/vim/plugin/notmuch.vim
index 77e3021d6ea2b6a00d78404c4f0de4b88705cdc4..90678b93caf6430052d29452c36ffba0b08f83f8 100644
(file)
--- a/
vim/plugin/notmuch.vim
+++ b/
vim/plugin/notmuch.vim
@@
-53,11
+53,11
@@
function! s:NM_cmd_search(words)
endfunction
function! s:NM_search_display()
- let line = line('.')
if !exists('b:nm_raw_data')
echo 'no b:nm_raw_data'
else
- let info = b:nm_raw_data[line]
+ let line = line('.')
+ let info = b:nm_raw_data[line-1]
let what = split(info, '\s\+')[0]
call s:NM_cmd_show([what])
endif
@@
-78,7
+78,7
@@
function! s:NM_cmd_show(words)
endfunction
-" --- helper function
+" --- helper function
s
function! s:NM_newBuffer(ft, content)
enew