aboutsummaryrefslogtreecommitdiff
path: root/vim/after/plugin/surround.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-08 00:05:45 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-08 00:05:45 +1200
commitb1556e5af023f05dcfd4d4014e932ce55e882e4e (patch)
tree8f791914816c1821707a680a129790d2907fc77f /vim/after/plugin/surround.vim
parentMerge branch 'release/v1.47.0' (diff)
parentCheck surround.vim actually loaded before unmap (diff)
downloaddotfiles-b1556e5af023f05dcfd4d4014e932ce55e882e4e.tar.gz
dotfiles-b1556e5af023f05dcfd4d4014e932ce55e882e4e.zip
Merge branch 'release/v1.48.0'v1.48.0
* release/v1.48.0: Check surround.vim actually loaded before unmap Check for 'cursorline' existence Add e() and v() wrappers Bind ,K in Vim buffers as a :helpgrep shortcut Improve a comment on HTML URL links Bind K in Vim help to jump to tag Revert "Use ^= instead of += for arbitrary tex..." Add ASM to Vim filetypes
Diffstat (limited to 'vim/after/plugin/surround.vim')
-rw-r--r--vim/after/plugin/surround.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/after/plugin/surround.vim b/vim/after/plugin/surround.vim
index b1face5f..800bc38d 100644
--- a/vim/after/plugin/surround.vim
+++ b/vim/after/plugin/surround.vim
@@ -1,4 +1,7 @@
" Remove surround.vim's insert mode maps
+if !exists('g:loaded_surround')
+ finish
+endif
iunmap <Plug>ISurround
iunmap <Plug>Isurround
iunmap <C-G>S