Skip to content

Commit

Permalink
Merge pull request #182 from lzap/o-for-openmessage
Browse files Browse the repository at this point in the history
Please add the new mapping to the wiki.
  • Loading branch information
notalex committed Jul 28, 2014
2 parents 7909f79 + 4e33ad4 commit fa00a5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/vmail.vim
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,7 @@ func! s:message_window_mappings()
if !hasmapto('<Plug>VmailMessageWindow_CloseWindow')
nmap <buffer> <leader>q <Plug>VmailMessageWindow_CloseWindow
nmap <buffer> o <Plug>VmailMessageWindow_CloseWindow
endif
nnoremap <buffer> <unique> <script> <Plug>VmailMessageWindow_CloseWindow :call <SID>close_message_window()<CR>
Expand Down Expand Up @@ -957,6 +958,7 @@ endfunc
func! s:message_list_window_mappings()
if !hasmapto('<Plug>VmailOpenMessage')
nmap <buffer> <CR> <Plug>VmailOpenMessage
nmap <buffer> o <Plug>VmailOpenMessage
nmap <buffer> <LeftMouse> <Plug>VmailOpenMessage
endif
nnoremap <buffer> <unique> <script> <Plug>VmailOpenMessage :call <SID>show_message(0)<CR>
Expand Down

0 comments on commit fa00a5b

Please sign in to comment.