diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-16 14:09:06 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-16 14:09:06 +1200 |
commit | 4826ac2858d02df0ebd5f4e25abb4b18805cbfcc (patch) | |
tree | a65c2f423cb61bd591af6e1b857a147e23ed0fd1 /vim/after/ftplugin/gitcommit.vim | |
parent | Merge branch 'release/v1.31.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-4826ac2858d02df0ebd5f4e25abb4b18805cbfcc.tar.gz dotfiles-4826ac2858d02df0ebd5f4e25abb4b18805cbfcc.zip |
Merge branch 'release/v1.32.0'v1.32.0
* release/v1.32.0:
Bump VERSION
Add \m 'magic' setting to mail headers jump
Add reformatting analogue to quote mappings
Don't default <Plug>(InsertCancel)
Reformat comment in wildignore.vim
Make a filetype.vim comment consistent
Diffstat (limited to 'vim/after/ftplugin/gitcommit.vim')
-rw-r--r-- | vim/after/ftplugin/gitcommit.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/after/ftplugin/gitcommit.vim b/vim/after/ftplugin/gitcommit.vim index 7fab5a92..5699188d 100644 --- a/vim/after/ftplugin/gitcommit.vim +++ b/vim/after/ftplugin/gitcommit.vim @@ -27,6 +27,12 @@ endif nnoremap <buffer> <expr> <LocalLeader>q quote#Quote() nnoremap <buffer> <expr> <LocalLeader>qq quote#Quote().'_' xnoremap <buffer> <expr> <LocalLeader>q quote#Quote() +nnoremap <buffer> <expr> <LocalLeader>Q quote#QuoteReformat() +nnoremap <buffer> <expr> <LocalLeader>QQ quote#QuoteReformat().'_' +xnoremap <buffer> <expr> <LocalLeader>Q quote#QuoteReformat() let b:undo_ftplugin .= '|nunmap <buffer> <LocalLeader>q' \ . '|nunmap <buffer> <LocalLeader>qq' \ . '|xunmap <buffer> <LocalLeader>q' + \ . '|nunmap <buffer> <LocalLeader>Q' + \ . '|nunmap <buffer> <LocalLeader>QQ' + \ . '|xunmap <buffer> <LocalLeader>Q' |