From bfc727f28f7305850aa724ecc685be8c942a219f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 4 Dec 2018 15:06:24 +1300 Subject: Remove b:undo_ftplugin cmds for double-key maps The relevant maps were removed in commit 5f1f5b9, but these unmap instructions were left behind. --- vim/after/ftplugin/diff.vim | 1 - vim/after/ftplugin/gitcommit.vim | 2 -- vim/after/ftplugin/mail.vim | 2 -- vim/after/ftplugin/markdown.vim | 2 -- 4 files changed, 7 deletions(-) (limited to 'vim/after') diff --git a/vim/after/ftplugin/diff.vim b/vim/after/ftplugin/diff.vim index 123f0d0a..5d4ff9ae 100644 --- a/vim/after/ftplugin/diff.vim +++ b/vim/after/ftplugin/diff.vim @@ -30,4 +30,3 @@ xmap p \ (DiffPrune) let b:undo_ftplugin .= '|nunmap p' \ . '|xunmap p' - \ . '|nunmap pp' diff --git a/vim/after/ftplugin/gitcommit.vim b/vim/after/ftplugin/gitcommit.vim index 1a4c1b1b..618b9324 100644 --- a/vim/after/ftplugin/gitcommit.vim +++ b/vim/after/ftplugin/gitcommit.vim @@ -25,7 +25,6 @@ nnoremap q xnoremap q \ quote#Quote() let b:undo_ftplugin .= '|nunmap q' - \ . '|nunmap qq' \ . '|xunmap q' " Quote operator with reformatting @@ -34,5 +33,4 @@ nnoremap Q xnoremap Q \ quote#QuoteReformat() let b:undo_ftplugin .= '|nunmap Q' - \ . '|nunmap QQ' \ . '|xunmap Q' diff --git a/vim/after/ftplugin/mail.vim b/vim/after/ftplugin/mail.vim index 74ec1699..ffaa6709 100644 --- a/vim/after/ftplugin/mail.vim +++ b/vim/after/ftplugin/mail.vim @@ -57,7 +57,6 @@ nnoremap q xnoremap q \ quote#Quote() let b:undo_ftplugin .= '|nunmap q' - \ . '|nunmap qq' \ . '|xunmap q' " Quote operator with reformatting @@ -66,7 +65,6 @@ nnoremap Q xnoremap Q \ quote#QuoteReformat() let b:undo_ftplugin .= '|nunmap Q' - \ . '|nunmap QQ' \ . '|xunmap Q' " Maps using autoloaded function for quoted paragraph movement diff --git a/vim/after/ftplugin/markdown.vim b/vim/after/ftplugin/markdown.vim index f129deba..82fbe9da 100644 --- a/vim/after/ftplugin/markdown.vim +++ b/vim/after/ftplugin/markdown.vim @@ -27,7 +27,6 @@ nnoremap q xnoremap q \ quote#Quote() let b:undo_ftplugin .= '|nunmap q' - \ . '|nunmap qq' \ . '|xunmap q' " Quote operator with reformatting @@ -36,5 +35,4 @@ nnoremap Q xnoremap Q \ quote#QuoteReformat() let b:undo_ftplugin .= '|nunmap Q' - \ . '|nunmap QQ' \ . '|xunmap Q' -- cgit v1.2.3