projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
651b215
)
vim: store previous buffer number when starting to compose
author
Bart Trojanowski
<bart@jukie.net>
Fri, 27 Nov 2009 06:02:50 +0000
(
01:02
-0500)
committer
Bart Trojanowski
<bart@jukie.net>
Fri, 27 Nov 2009 06:02:50 +0000
(
01:02
-0500)
vim/plugin/notmuch.vim
patch
|
blob
|
history
diff --git
a/vim/plugin/notmuch.vim
b/vim/plugin/notmuch.vim
index 63095ed55592842fe47e44ce49228a88f035e0f9..63a711fdf84368af8b1300e6d3367fdfaa026f61 100644
(file)
--- a/
vim/plugin/notmuch.vim
+++ b/
vim/plugin/notmuch.vim
@@
-936,6
+936,7
@@
function! s:NM_cmd_compose(words, body_lines)
call <SID>NM_newFileBuffer(g:notmuch_compose_temp_file_dir, '%s.mail',
\ 'compose', lines)
setlocal bufhidden=hide
+ let b:nm_prev_bufnr = prev_bufnr
call <SID>NM_set_map('n', g:notmuch_compose_nmaps)
call <SID>NM_set_map('i', g:notmuch_compose_imaps)