Vim What?CommandsS
S

The S command in Vim

Command

substitute line

Substitute line — delete [count] lines and enter insert mode. Shorthand for cc.
Examples
Related plugin

tpope/vim-surround — S{char} in Visual mode wraps the selection in the given character. e.g. select text then S" to wrap in quotes.

Reference

Official Vim help for S

Learn every Vim command visually — right in your browser.

Add Vim What? to Chrome — Free

Also on Firefox.

Related commands