vmail 0.6.9 → 0.7.0
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/README.markdown +12 -1
- data/Rakefile +10 -0
- data/lib/vmail.vim +9 -3
- data/lib/vmail/version.rb +1 -1
- metadata +3 -3
data/README.markdown
CHANGED
@@ -106,7 +106,9 @@ this number by passing in a number after the mailbox name:
|
|
106
106
|
|
107
107
|
The first screen vmail shows you is a list of messages. You can view a message
|
108
108
|
by moving the cursor line to it and pressing ENTER. This will split the screen
|
109
|
-
and show the message content in the bottom pane.
|
109
|
+
and show the message content in the bottom pane. Pressing ENTER will also move
|
110
|
+
the cursor to the message window. If you want to look at a message but keep the
|
111
|
+
cursor in the list window, type `l` (as in `l`ook) instead of ENTER.
|
110
112
|
|
111
113
|
To full-screen the message, press SPACE when the cursor is in the message window.
|
112
114
|
You can also use the standard Vim key sequence `C-w C-o`.
|
@@ -156,6 +158,15 @@ spam, or archive. Use `v` to start marking a range of lines (the vertical
|
|
156
158
|
position of the cursor doesn't matter). Then type any of the above commands to
|
157
159
|
perform an action on all the messages you selected.
|
158
160
|
|
161
|
+
To save you keystorkes, vmail provides alternative key mappings for
|
162
|
+
`,*`, `,#`, and `,!`:
|
163
|
+
|
164
|
+
* star: `,*` → `,8`
|
165
|
+
* trash/delete: `,#` → `,3`
|
166
|
+
* mark spam: `,!` → `,1`
|
167
|
+
|
168
|
+
These save you from having to press the SHIFT key in each key sequence.
|
169
|
+
|
159
170
|
## Checking for new messages
|
160
171
|
|
161
172
|
To check for new messages in the current mailbox, press `u` in normal mode and
|
data/Rakefile
CHANGED
@@ -15,6 +15,16 @@ task :web do
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
+
desc "build website locally"
|
19
|
+
task :weblocal do
|
20
|
+
require 'vmail/version'
|
21
|
+
version = Vmail::VERSION
|
22
|
+
Dir.chdir("website") do
|
23
|
+
`ruby gen.rb #{version} > vmail.html`
|
24
|
+
`open vmail.html`
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
18
28
|
desc "git push and rake release bumped version"
|
19
29
|
task :bumped do
|
20
30
|
puts `git push && rake release`
|
data/lib/vmail.vim
CHANGED
@@ -691,6 +691,10 @@ func! s:message_window_mappings()
|
|
691
691
|
nnoremap <silent> <buffer> <leader>* :call <SID>focus_list_window()<cr>:call <SID>toggle_star()<cr>
|
692
692
|
noremap <silent> <buffer> <leader>! :call <SID>focus_list_window()<cr>:call <SID>delete_messages("[Gmail]/Spam")<CR>
|
693
693
|
noremap <silent> <buffer> <leader>e :call <SID>focus_list_window()<cr>:call <SID>archive_messages()<CR>
|
694
|
+
" alt mappings for lazy hands
|
695
|
+
nmap <silent> <buffer> <leader>8 <leader>*
|
696
|
+
nmap <silent> <buffer> <leader>3 <leader>#
|
697
|
+
nmap <silent> <buffer> <leader>1 <leader>!
|
694
698
|
|
695
699
|
nnoremap <silent> <buffer> <Leader>b :call <SID>focus_list_window()<cr>call <SID>move_to_mailbox(0)<CR>
|
696
700
|
nnoremap <silent> <buffer> <Leader>B :call <SID>focus_list_window()<cr>call <SID>move_to_mailbox(1)<CR>
|
@@ -711,12 +715,14 @@ func! s:message_list_window_mappings()
|
|
711
715
|
noremap <silent> <buffer> q :qal!<cr>
|
712
716
|
|
713
717
|
noremap <silent> <buffer> <leader>* :call <SID>toggle_star()<CR>
|
714
|
-
nmap <silent> <buffer> s <leader>*
|
715
718
|
noremap <silent> <buffer> <leader># :call <SID>delete_messages("Deleted")<CR>
|
716
|
-
nmap <silent> <buffer> <leader>d <leader>#
|
717
|
-
|
718
719
|
noremap <silent> <buffer> <leader>! :call <SID>delete_messages("[Gmail]/Spam")<CR>
|
719
720
|
noremap <silent> <buffer> <leader>e :call <SID>archive_messages()<CR>
|
721
|
+
" alt mappings for lazy hands
|
722
|
+
nmap <silent> <buffer> <leader>8 <leader>*
|
723
|
+
nmap <silent> <buffer> <leader>3 <leader>#
|
724
|
+
nmap <silent> <buffer> <leader>1 <leader>!
|
725
|
+
|
720
726
|
"open a link browser (os x)
|
721
727
|
"autocmd CursorMoved <buffer> call <SID>show_message(0)
|
722
728
|
noremap <silent> <buffer> <leader>vp :call <SID>append_messages_to_file()<CR>
|
data/lib/vmail/version.rb
CHANGED