lib/vmail.vim in vmail-0.3.8 vs lib/vmail.vim in vmail-0.3.9
- old
+ new
@@ -451,10 +451,11 @@
" check if mailbox is a real mailbox
if (index(s:mailboxes, mailbox) == -1)
return
endif
let s:mailbox = mailbox
+ let s:query = "100 all"
let command = s:select_mailbox_command . shellescape(s:mailbox)
call system(command)
redraw
" now get latest 100 messages
call s:focus_list_window()
@@ -688,12 +689,12 @@
noremap <silent> <buffer> <Leader>c :call <SID>compose_message()<CR>
noremap <silent> <buffer> <Leader>h :call <SID>open_html_part()<CR><cr>
nnoremap <silent> <buffer> q :close<cr>
nnoremap <silent> <buffer> <leader># :close<cr>:call <SID>focus_list_window()<cr>:call <SID>delete_messages("Deleted")<cr>
- nmap <silent> <buffer> <leader>d <leader>#
nnoremap <silent> <buffer> <leader>* :call <SID>focus_list_window()<cr>:call <SID>toggle_star()<cr>
- nmap <silent> <buffer> s <leader>*
+ noremap <silent> <buffer> <leader>! :call <SID>focus_list_window()<cr>:call <SID>delete_messages("[Gmail]/Spam")<CR>
+ noremap <silent> <buffer> <leader>e :call <SID>focus_list_window()<cr>:call <SID>archive_messages()<CR>
nnoremap <silent> <buffer> <Leader>b :call <SID>focus_list_window()<cr>call <SID>move_to_mailbox(0)<CR>
nnoremap <silent> <buffer> <Leader>B :call <SID>focus_list_window()<cr>call <SID>move_to_mailbox(1)<CR>
nnoremap <silent> <buffer> <leader>e :call <SID>focus_list_window()<cr>:call <SID>archive_messages()<cr>
nnoremap <silent> <buffer> u :call <SID>focus_list_window()<cr>:call <SID>update()<CR>