Remove s warning

Closes #51.
This commit is contained in:
Tim Pope 2012-06-07 20:50:23 -04:00
parent 489a1e8c67
commit 1a73f607f8

View File

@ -557,9 +557,6 @@ if !exists("g:surround_no_mappings") || ! g:surround_no_mappings
nmap ySS <Plug>YSsurround
xmap S <Plug>VSurround
xmap gS <Plug>VgSurround
if maparg('s', 'x') ==# ''
xnoremap <silent> s :<C-U>echoerr 'surround.vim: Visual mode s has been removed in favor of S'<CR>
endif
if !hasmapto("<Plug>Isurround","i") && "" == mapcheck("<C-S>","i")
imap <C-S> <Plug>Isurround
endif