vmail 1.7.9 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vmail.vim +6 -6
- data/lib/vmail/version.rb +1 -1
- metadata +1 -1
data/lib/vmail.vim
CHANGED
@@ -570,18 +570,18 @@ func! s:open_compose_window(command)
|
|
570
570
|
redraw
|
571
571
|
echo a:command
|
572
572
|
let res = system(a:command)
|
573
|
+
|
574
|
+
let previous_winnr = winnr()
|
573
575
|
split compose_message.txt
|
576
|
+
exec previous_winnr . "wincmd w"
|
577
|
+
close!
|
578
|
+
|
574
579
|
setlocal modifiable
|
575
580
|
" TODO maybe later save backups?
|
576
581
|
setlocal buftype=nowrite
|
577
|
-
"
|
578
|
-
if winnr('$') > 1
|
579
|
-
call s:focus_list_window()
|
580
|
-
close!
|
581
|
-
endif
|
582
582
|
silent 1,$delete
|
583
583
|
silent put! =res
|
584
|
-
call feedkeys("\<cr>")
|
584
|
+
"call feedkeys("\<cr>")
|
585
585
|
call s:compose_window_mappings()
|
586
586
|
setlocal completefunc=CompleteContact
|
587
587
|
normal 1G
|
data/lib/vmail/version.rb
CHANGED