From 1a73f607f8f5477d6942df2eb6e7245c4864f4d3 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 7 Jun 2012 20:50:23 -0400 Subject: [PATCH] Remove s warning Closes #51. --- plugin/surround.vim | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugin/surround.vim b/plugin/surround.vim index 30f6237..8b882dd 100644 --- a/plugin/surround.vim +++ b/plugin/surround.vim @@ -557,9 +557,6 @@ if !exists("g:surround_no_mappings") || ! g:surround_no_mappings nmap ySS YSsurround xmap S VSurround xmap gS VgSurround - if maparg('s', 'x') ==# '' - xnoremap s :echoerr 'surround.vim: Visual mode s has been removed in favor of S' - endif if !hasmapto("Isurround","i") && "" == mapcheck("","i") imap Isurround endif