vmail 1.2.6 → 1.2.8
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 +1 -1
- data/lib/vmail.vim +1 -1
- data/lib/vmail/imap_client.rb +3 -1
- data/lib/vmail/version.rb +1 -1
- metadata +2 -2
data/README.markdown
CHANGED
@@ -281,7 +281,7 @@ the draft email into a buffer. (Use `:e!` if you're already in the message
|
|
281
281
|
composition window. You can also use `:sp` if you want to open the draft email file in a
|
282
282
|
split window, etc.) Resume editing. Send by typing `,vs`.
|
283
283
|
|
284
|
-
At any point, you can quit the composition window by typing
|
284
|
+
At any point, you can quit the composition window by typing `,q` in normal mode.
|
285
285
|
|
286
286
|
You can also use `vmailsend` from the command line to send a message that
|
287
287
|
you've composed with correct headers and saved to a file, like so:
|
data/lib/vmail.vim
CHANGED
@@ -826,7 +826,7 @@ endfunc
|
|
826
826
|
|
827
827
|
func! s:compose_window_mappings()
|
828
828
|
noremap <silent> <buffer> <leader>q :call <SID>cancel_compose()<cr>
|
829
|
-
nmap <silent> <buffer> q <leader>q
|
829
|
+
"nmap <silent> <buffer> q <leader>q
|
830
830
|
setlocal ai
|
831
831
|
" setlocal textwidth=72
|
832
832
|
autocmd CursorMoved <buffer> call <SID>toggle_textwidth()
|
data/lib/vmail/imap_client.rb
CHANGED
@@ -275,7 +275,9 @@ module Vmail
|
|
275
275
|
# flags is an array like [:Flagged, :Seen]
|
276
276
|
def format_flags(flags)
|
277
277
|
# other flags like "Old" should be hidden here
|
278
|
-
flags = flags.map {|flag| FLAGMAP[flag]}
|
278
|
+
flags = flags.map {|flag| FLAGMAP[flag] || flag}
|
279
|
+
flags.delete("Old")
|
280
|
+
log "FLAGS: #{flags.inspect}"
|
279
281
|
if flags.delete(:Seen).nil?
|
280
282
|
flags << '+' # unread
|
281
283
|
end
|
data/lib/vmail/version.rb
CHANGED