vmail 1.8.3 → 1.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/vmail.vim +6 -10
- data/lib/vmail/version.rb +1 -1
- metadata +1 -1
data/lib/vmail.vim
CHANGED
@@ -570,19 +570,15 @@ func! s:open_compose_window(command)
|
|
570
570
|
redraw
|
571
571
|
echo a:command
|
572
572
|
let res = system(a:command)
|
573
|
-
|
574
573
|
let previous_winnr = winnr()
|
574
|
+
only
|
575
575
|
split compose_message.txt
|
576
|
-
if winnr('$') > 1
|
577
|
-
exec previous_winnr . "wincmd w"
|
578
|
-
close!
|
579
|
-
end
|
580
|
-
|
581
576
|
setlocal modifiable
|
582
|
-
|
583
|
-
|
584
|
-
silent 1,$delete
|
585
|
-
silent put! =res
|
577
|
+
wincmd p
|
578
|
+
close!
|
579
|
+
silent! 1,$delete
|
580
|
+
silent! put! =res
|
581
|
+
redraw
|
586
582
|
"call feedkeys("\<cr>")
|
587
583
|
call s:compose_window_mappings()
|
588
584
|
setlocal completefunc=CompleteContact
|
data/lib/vmail/version.rb
CHANGED