vmail 1.8.3 → 1.8.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/vmail.vim +6 -10
  2. data/lib/vmail/version.rb +1 -1
  3. 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
- " TODO maybe later save backups?
583
- setlocal buftype=nowrite
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
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = '1.8.3'
2
+ VERSION = '1.8.4'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: vmail
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.8.3
5
+ version: 1.8.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi