lib/vmail.vim in vmail-1.3.0 vs lib/vmail.vim in vmail-1.3.2
- old
+ new
@@ -764,10 +764,11 @@
nmap <silent> <buffer> <leader>j <c-j>
nmap <silent> <buffer> <leader>k <c-k>
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 :call <SID>close_message_window()<cr>
+ nmap <silent> <buffer> <leader>q q
nnoremap <silent> <buffer> <leader># :close<cr>:call <SID>focus_list_window()<cr>:call <SID>delete_messages("Deleted")<cr>
nnoremap <silent> <buffer> <leader>* :call <SID>focus_list_window()<cr>:call <SID>toggle_star()<cr>
noremap <silent> <buffer> <leader>! :call <SID>focus_list_window()<cr>:call <SID>delete_messages("spam")<CR>
noremap <silent> <buffer> <leader>e :call <SID>focus_list_window()<cr>:call <SID>archive_messages()<CR>
@@ -791,10 +792,11 @@
func! s:message_list_window_mappings()
noremap <silent> <buffer> <cr> :call <SID>show_message(0)<CR>
noremap <silent> <buffer> <LeftMouse> :call <SID>show_message(0)<CR>
nnoremap <silent> <buffer> l :call <SID>show_message(1)<CR>
noremap <silent> <buffer> q :qal!<cr>
+ nmap <silent> <buffer> <leader>q q
noremap <silent> <buffer> <leader>* :call <SID>toggle_star()<CR>
noremap <silent> <buffer> <leader># :call <SID>delete_messages("Deleted")<CR>
noremap <silent> <buffer> <leader>! :call <SID>delete_messages("spam")<CR>
noremap <silent> <buffer> <leader>e :call <SID>archive_messages()<CR>
@@ -824,10 +826,9 @@
nnoremap <silent> <buffer> <Space> :call <SID>toggle_maximize_window()<cr>
endfunc
func! s:compose_window_mappings()
noremap <silent> <buffer> <leader>q :call <SID>cancel_compose()<cr>
- "nmap <silent> <buffer> q <leader>q
setlocal ai
" setlocal textwidth=72
autocmd CursorMoved <buffer> call <SID>toggle_textwidth()
endfunc