+3
-1
lines changedFilter options
+3
-1
lines changed Original file line number Diff line number Diff line change
@@ -551,7 +551,9 @@ if !exists("g:surround_no_mappings") || ! g:surround_no_mappings
551
551
nmap ySS <Plug>YSsurround
552
552
xmap S <Plug>VSurround
553
553
xmap gS <Plug>VgSurround
554
-
xnoremap <silent> s :<C-U>echoerr 'surround.vim: Visual mode s has been removed in favor of S'<CR>
554
+
if maparg('s', 'x') ==# ''
555
+
xnoremap <silent> s :<C-U>echoerr 'surround.vim: Visual mode s has been removed in favor of S'<CR>
556
+
endif
555
557
if !hasmapto("<Plug>Isurround","i") && "" == mapcheck("<C-S>","i")
556
558
imap <C-S> <Plug>Isurround
557
559
endif
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4