From 6fb16eae21f455eceda94279e84e4fb5d155580a Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 29 Aug 2011 01:54:27 -0400 Subject: [PATCH] Kill vs --- plugin/surround.vim | 8 -------- 1 file changed, 8 deletions(-) diff --git a/plugin/surround.vim b/plugin/surround.vim index 0891eac..9e94d39 100644 --- a/plugin/surround.vim +++ b/plugin/surround.vim @@ -547,7 +547,6 @@ nnoremap YSsurround :call opfunc2(v:count1) " discards the numerical argument but there's not much we can do with it nnoremap Ysurround :set opfunc=opfuncg@ nnoremap YSurround :set opfunc=opfunc2g@ -vnoremap Vsurround :call opfunc(visualmode()) vnoremap VSurround :call opfunc(visualmode(),visualmode() ==# 'V' ? 1 : 0) vnoremap VgSurround :call opfunc(visualmode(),visualmode() ==# 'V' ? 0 : 1) inoremap Isurround =insert() @@ -561,13 +560,6 @@ if !exists("g:surround_no_mappings") || ! g:surround_no_mappings nmap yss Yssurround nmap ySs YSsurround nmap ySS YSsurround - if !hasmapto("Vsurround","v") && !hasmapto("VSurround","v") - if exists(":xmap") - xmap s Vsurround - else - vmap s Vsurround - endif - endif if !hasmapto("VSurround","v") if exists(":xmap") xmap S VSurround