vim-surround#

GitHub Repository

Description#

Manage surrounding characters like quotes, brackets, and HTML tags.

Main Usage#

  • cs<old><new>: Change surrounding <old> to <new> (eg. cs"' to change double quotes to single).
  • ds<char>: Delete surrounding <char>.
  • ys<motion><char>: Add surrounding <char> to the target motion (eg. ysiw" to surround a word with double quotes).
  • S<char> (Visual Mode): Surround selection with <char>.