vmail 2.9.2 → 2.9.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vmail.vim +15 -0
- data/lib/vmail/version.rb +1 -1
- metadata +2 -2
data/lib/vmail.vim
CHANGED
@@ -130,6 +130,14 @@ function! s:show_message(stay_in_message_list)
|
|
130
130
|
redraw
|
131
131
|
endfunction
|
132
132
|
|
133
|
+
function! s:show_large_message()
|
134
|
+
call <SID>show_message(0)
|
135
|
+
wincmd o
|
136
|
+
3split
|
137
|
+
execute 'b'. s:listbufnr
|
138
|
+
wincmd p
|
139
|
+
endfunction
|
140
|
+
|
133
141
|
" from message window
|
134
142
|
function! s:show_next_message()
|
135
143
|
let fullscreen = (bufwinnr(s:listbufnr) == -1) " we're in full screen message mode
|
@@ -877,6 +885,7 @@ func! s:message_window_mappings()
|
|
877
885
|
|
878
886
|
if !hasmapto('<Plug>VmailMessageWindow_CloseWindow')
|
879
887
|
nmap <buffer> <leader>q <Plug>VmailMessageWindow_CloseWindow
|
888
|
+
nmap <buffer> o <Plug>VmailMessageWindow_CloseWindow
|
880
889
|
endif
|
881
890
|
nnoremap <buffer> <unique> <script> <Plug>VmailMessageWindow_CloseWindow :call <SID>close_message_window()<CR>
|
882
891
|
|
@@ -957,10 +966,16 @@ endfunc
|
|
957
966
|
func! s:message_list_window_mappings()
|
958
967
|
if !hasmapto('<Plug>VmailOpenMessage')
|
959
968
|
nmap <buffer> <CR> <Plug>VmailOpenMessage
|
969
|
+
nmap <buffer> o <Plug>VmailOpenMessage
|
960
970
|
nmap <buffer> <LeftMouse> <Plug>VmailOpenMessage
|
961
971
|
endif
|
962
972
|
nnoremap <buffer> <unique> <script> <Plug>VmailOpenMessage :call <SID>show_message(0)<CR>
|
963
973
|
|
974
|
+
if !hasmapto('<Plug>VmailOpenLargeMessage')
|
975
|
+
nmap <buffer> O <Plug>VmailOpenLargeMessage
|
976
|
+
endif
|
977
|
+
nnoremap <buffer> <unique> <script> <Plug>VmailOpenLargeMessage :call <SID>show_large_message()<CR>
|
978
|
+
|
964
979
|
if !hasmapto('<Plug>VmailPreviewMessage')
|
965
980
|
nmap <buffer> l <Plug>VmailPreviewMessage
|
966
981
|
endif
|
data/lib/vmail/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vmail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-07-
|
12
|
+
date: 2014-07-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mail
|