From 8b6be81ecc1884e6836a74e5541cc50f30183d68 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 8 Jul 2018 14:45:15 +1200 Subject: Unmap PHP bracket maps --- vim/after/ftplugin/php.vim | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'vim') diff --git a/vim/after/ftplugin/php.vim b/vim/after/ftplugin/php.vim index 587062e5..70e92dfd 100644 --- a/vim/after/ftplugin/php.vim +++ b/vim/after/ftplugin/php.vim @@ -28,3 +28,10 @@ nnoremap c \ :call compiler#Make('php') let b:undo_ftplugin = b:undo_ftplugin \ . '|nunmap c' + +" Get rid of the core ftplugin's square-bracket maps on unload +let b:undo_ftplugin = b:undo_ftplugin + \ . '|nunmap [[' + \ . '|ounmap [[' + \ . '|nunmap ]]' + \ . '|ounmap ]]' -- cgit v1.2.3