aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/markdown.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/after/ftplugin/markdown.vim')
-rw-r--r--vim/after/ftplugin/markdown.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/after/ftplugin/markdown.vim b/vim/after/ftplugin/markdown.vim
index 38f2a8b9..a5c80ca9 100644
--- a/vim/after/ftplugin/markdown.vim
+++ b/vim/after/ftplugin/markdown.vim
@@ -30,6 +30,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'