diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-08 14:45:15 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-08 14:45:15 +1200 |
commit | 8b6be81ecc1884e6836a74e5541cc50f30183d68 (patch) | |
tree | 1efd4fa1a755cc27ad3be50494c1719a8e4c9c08 /vim/after | |
parent | Remove error suppression on Vim unmaps (diff) | |
download | dotfiles-8b6be81ecc1884e6836a74e5541cc50f30183d68.tar.gz dotfiles-8b6be81ecc1884e6836a74e5541cc50f30183d68.zip |
Unmap PHP bracket maps
Diffstat (limited to 'vim/after')
-rw-r--r-- | vim/after/ftplugin/php.vim | 7 |
1 files changed, 7 insertions, 0 deletions
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 <buffer> <LocalLeader>c \ :<C-U>call compiler#Make('php')<CR> let b:undo_ftplugin = b:undo_ftplugin \ . '|nunmap <buffer> <LocalLeader>c' + +" Get rid of the core ftplugin's square-bracket maps on unload +let b:undo_ftplugin = b:undo_ftplugin + \ . '|nunmap <buffer> [[' + \ . '|ounmap <buffer> [[' + \ . '|nunmap <buffer> ]]' + \ . '|ounmap <buffer> ]]' |