diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-29 23:36:46 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-29 23:36:46 +1300 |
commit | 381b85d5067f496d65faa9fab54752299f61ad98 (patch) | |
tree | d98a870d8f3f5bdc18e87dd12fa71d960be7daf4 /vim/after/ftplugin/vim.vim | |
parent | Add missing detail to a comment (diff) | |
download | dotfiles-381b85d5067f496d65faa9fab54752299f61ad98.tar.gz dotfiles-381b85d5067f496d65faa9fab54752299f61ad98.zip |
Remove some overzealous b:undo_* setting
It's not that these shouldn't be set, it's more that it's the wrong
place to do it, especially before they've caused any actual problems.
Diffstat (limited to 'vim/after/ftplugin/vim.vim')
-rw-r--r-- | vim/after/ftplugin/vim.vim | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/vim/after/ftplugin/vim.vim b/vim/after/ftplugin/vim.vim index 9f6245a5..a7a69993 100644 --- a/vim/after/ftplugin/vim.vim +++ b/vim/after/ftplugin/vim.vim @@ -14,20 +14,3 @@ endif nnoremap <buffer> <LocalLeader>K \ :<C-U>helpgrep <cword><CR> let b:undo_ftplugin .= '|nunmap <buffer> <LocalLeader>K' - -" Get rid of the core ftplugin's square-bracket maps on unload -" 8.1.273 updated the runtime files to include a fix for this -if v:version < 801 || v:version == 801 && !has('patch273') - let b:undo_ftplugin .= '|nunmap <buffer> [[' - \ . '|vunmap <buffer> [[' - \ . '|nunmap <buffer> ]]' - \ . '|vunmap <buffer> ]]' - \ . '|nunmap <buffer> []' - \ . '|vunmap <buffer> []' - \ . '|nunmap <buffer> ][' - \ . '|vunmap <buffer> ][' - \ . '|nunmap <buffer> ]"' - \ . '|vunmap <buffer> ]"' - \ . '|nunmap <buffer> ["' - \ . '|vunmap <buffer> ["' -endif |