aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-23 09:12:16 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-23 09:12:16 +1200
commitf2dde46166bb36cc24bc7f92213ee9743a0e31e2 (patch)
tree71dc361b623789f8e5a33cae9334a40800597bc7 /vim
parent3c8b52acb50b3b4beb8e5d2d0560d7e484b22345 (diff)
downloaddotfiles-f2dde46166bb36cc24bc7f92213ee9743a0e31e2.tar.gz
Add undo instructions for Markdown heading stuff
Diffstat (limited to 'vim')
-rw-r--r--vim/after/ftplugin/markdown.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/after/ftplugin/markdown.vim b/vim/after/ftplugin/markdown.vim
index 43395568..81113668 100644
--- a/vim/after/ftplugin/markdown.vim
+++ b/vim/after/ftplugin/markdown.vim
@@ -39,3 +39,6 @@ nnoremap <buffer> <LocalLeader>=
\ :<C-U>MarkdownHeading =<CR>
nnoremap <buffer> <LocalLeader>-
\ :<C-U>MarkdownHeading -<CR>
+let b:undo_ftplugin .= '|delcommand MarkdownHeading'
+ \ . '|nunmap <buffer> <LocalLeader>='
+ \ . '|nunmap <buffer> <LocalLeader>-'