vmail 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vmail.vim +8 -3
- data/lib/vmail/version.rb +1 -1
- metadata +3 -3
data/lib/vmail.vim
CHANGED
@@ -677,10 +677,15 @@ func! s:save_attachments()
|
|
677
677
|
endfunc
|
678
678
|
" --------------------------------------------------------------------------------
|
679
679
|
|
680
|
-
func! s:
|
680
|
+
func! s:toggle_maximize_window()
|
681
681
|
if winnr('$') > 1
|
682
682
|
only
|
683
683
|
" normal z.
|
684
|
+
elseif bufwinnr(s:listbufnr) == winnr()
|
685
|
+
call s:show_message(1)
|
686
|
+
else " we're in the message window
|
687
|
+
call s:focus_list_window()
|
688
|
+
wincmd p
|
684
689
|
endif
|
685
690
|
endfunc
|
686
691
|
|
@@ -779,7 +784,7 @@ func! s:message_window_mappings()
|
|
779
784
|
nnoremap <silent> <buffer> u :call <SID>update()<CR>
|
780
785
|
nnoremap <silent> <buffer> <Leader>m :call <SID>focus_list_window()<cr>:call <SID>mailbox_window()<CR>
|
781
786
|
nnoremap <silent> <buffer> <Leader>A :call <SID>save_attachments()<cr>
|
782
|
-
nnoremap <silent> <buffer> <Space> :call <SID>
|
787
|
+
nnoremap <silent> <buffer> <Space> :call <SID>toggle_maximize_window()<cr>
|
783
788
|
noremap <silent> <buffer> <leader>vp :call <SID>focus_list_window()<cr>:call <SID>append_messages_to_file()<CR>
|
784
789
|
nnoremap <silent> <buffer> <Leader>s :call <SID>focus_list_window()<cr>:call <SID>search_query()<cr>
|
785
790
|
|
@@ -814,7 +819,7 @@ func! s:message_list_window_mappings()
|
|
814
819
|
noremap <silent> <buffer> <Leader>f :call <SID>show_message(0)<cr>:call <SID>compose_forward()<CR><cr>
|
815
820
|
noremap <silent> <buffer> <c-j> :call <SID>show_next_message_in_list()<cr>
|
816
821
|
noremap <silent> <buffer> <c-k> :call <SID>show_previous_message_in_list()<cr>
|
817
|
-
nnoremap <silent> <buffer> <Space> :call <SID>
|
822
|
+
nnoremap <silent> <buffer> <Space> :call <SID>toggle_maximize_window()<cr>
|
818
823
|
endfunc
|
819
824
|
|
820
825
|
func! s:compose_window_mappings()
|
data/lib/vmail/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 9
|
8
|
-
-
|
9
|
-
version: 0.9.
|
8
|
+
- 8
|
9
|
+
version: 0.9.8
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Daniel Choi
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-12-
|
17
|
+
date: 2010-12-20 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|