From 05d76deb2eb3aaf09444e8cfb59a438c3d774bea Mon Sep 17 00:00:00 2001 From: Bart Trojanowski Date: Fri, 27 Nov 2009 01:02:50 -0500 Subject: [PATCH] vim: store previous buffer number when starting to compose --- vim/plugin/notmuch.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim index 63095ed5..63a711fd 100644 --- a/vim/plugin/notmuch.vim +++ b/vim/plugin/notmuch.vim @@ -936,6 +936,7 @@ function! s:NM_cmd_compose(words, body_lines) call NM_newFileBuffer(g:notmuch_compose_temp_file_dir, '%s.mail', \ 'compose', lines) setlocal bufhidden=hide + let b:nm_prev_bufnr = prev_bufnr call NM_set_map('n', g:notmuch_compose_nmaps) call NM_set_map('i', g:notmuch_compose_imaps) -- 2.26.2