From: "Kirill A. Shutemov" <[email protected]>

Inserting empty lines at the end of reply buffer and switching to insert
mode are not what user want on reply. It's only annoying if you try to
comment on patch.

If a user really wants this kind of preparation it should be implemented
as an user-specific hook.

Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>
---
 notmuch-ruby.vim |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/notmuch-ruby.vim b/notmuch-ruby.vim
index cda5df4..44d127f 100644
--- a/notmuch-ruby.vim
+++ b/notmuch-ruby.vim
@@ -144,7 +144,6 @@ ruby << EOF
 EOF
        call s:set_map(g:notmuch_rb_compose_maps)
        autocmd BufUnload <buffer> call s:compose_unload()
-       startinsert!
 endfunction

 function! s:show_info()
@@ -511,9 +510,6 @@ ruby << EOF
                        part.convert.each_line do |l|
                                body_lines << "> %s" % l.chomp
                        end
-                       body_lines << ""
-                       body_lines << ""
-                       body_lines << ""

                        reply.body = body_lines.join("\n")

-- 
1.7.10.4

Reply via email to