Vim - Surround Cheat Sheet

A Software › Vim cheat sheet in English by llanillo

Vim surround plugin keybindings

2,028 views 458 downloads 22 Dec 2022 History

Delete surrou­ndings

ds"
Delete surrou­­ndings
dst
Delete Surrou­­nding Tags

Change surrou­­ndings

cs*
Change surrou­­ndings
cst*
Change Surrou­­nding Tags

Visual mode

v$S* ($ could be '­e' or '­w')
Surround Selected Text

Create surrou­­ndings

ysiw*
Surround One Word
yss*
Surround Entire Line
ys%aw* (%: number of words)
Surround Multiple Words

Comments

No comments yet.

Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.