vmail 0.2.6 → 0.2.7
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/NOTES +2 -0
- data/README.markdown +3 -0
- data/bin/vmail_client +2 -0
- data/lib/vmail.vim +14 -0
- data/lib/vmail/version.rb +1 -1
- metadata +2 -2
data/NOTES
CHANGED
data/README.markdown
CHANGED
@@ -180,6 +180,9 @@ message list, and type `,b`. You'll be prompted to select the target mailbox.
|
|
180
180
|
To copy a message to another mailbox, put the cursor on the message in the
|
181
181
|
message list, and type `,B`. You'll be prompted to select the target mailbox.
|
182
182
|
|
183
|
+
If you type in the name of a target mailbox that doesn't exist yet, vmail will
|
184
|
+
create it for you before performing a move or copy.
|
185
|
+
|
183
186
|
## Composing messages
|
184
187
|
|
185
188
|
To start writing a new a email message, type `,c`. That's a comma followed by
|
data/bin/vmail_client
CHANGED
data/lib/vmail.vim
CHANGED
@@ -25,6 +25,8 @@ let s:deliver_command = s:client_script . "deliver "
|
|
25
25
|
let s:save_draft_command = s:client_script . "save_draft "
|
26
26
|
let s:save_attachments_command = s:client_script . "save_attachments "
|
27
27
|
let s:open_html_part_command = s:client_script . "open_html_part "
|
28
|
+
let s:show_help_command = s:client_script . "show_help"
|
29
|
+
|
28
30
|
let s:message_bufname = "MessageWindow"
|
29
31
|
|
30
32
|
function! VmailStatusLine()
|
@@ -660,6 +662,17 @@ func! s:open_href()
|
|
660
662
|
exec command
|
661
663
|
endfunc
|
662
664
|
|
665
|
+
" --------------------------------------------------------------------------------
|
666
|
+
" HELP
|
667
|
+
func! s:show_help()
|
668
|
+
let helpfile = system(s:show_help_command)
|
669
|
+
exec "split " . helpfile
|
670
|
+
setlocal nomodifiable
|
671
|
+
setlocal buftype=nofile
|
672
|
+
nnoremap <silent> <buffer> q :close<cr>
|
673
|
+
endfunc
|
674
|
+
|
675
|
+
|
663
676
|
" --------------------------------------------------------------------------------
|
664
677
|
" MAPPINGS
|
665
678
|
|
@@ -735,6 +748,7 @@ func! s:global_mappings()
|
|
735
748
|
nnoremap <silent> <leader>vs :call <SID>send_message()<CR>
|
736
749
|
nnoremap <silent> <leader>vd :call <SID>save_draft()<CR>
|
737
750
|
noremap <silent> <leader>o :call <SID>open_href()<cr>
|
751
|
+
noremap <silent> <leader>? :call <SID>show_help()<cr>
|
738
752
|
endfunc
|
739
753
|
|
740
754
|
"TODO see if using LocalLeader and maplocalleader makes more sense
|
data/lib/vmail/version.rb
CHANGED