vmail 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vmail.vim +4 -2
- data/lib/vmail/version.rb +1 -1
- metadata +1 -1
data/lib/vmail.vim
CHANGED
@@ -573,8 +573,10 @@ func! s:open_compose_window(command)
|
|
573
573
|
|
574
574
|
let previous_winnr = winnr()
|
575
575
|
split compose_message.txt
|
576
|
-
|
577
|
-
|
576
|
+
if winnr('$') > 1
|
577
|
+
exec previous_winnr . "wincmd w"
|
578
|
+
close!
|
579
|
+
end
|
578
580
|
|
579
581
|
setlocal modifiable
|
580
582
|
" TODO maybe later save backups?
|
data/lib/vmail/version.rb
CHANGED