Show Menu
Cheatography

Vim - Surround Cheat Sheet by

Vim surround plugin keybindings

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. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          vim.spf13 Cheat Sheet
          PluginVim Cheat Sheet
          vim tpope/vim-surround Cheat Sheet

          More Cheat Sheets by llanillo

          Ideavim - NERDTree Cheat Sheet
          IdeaVim - Intellimacs Cheat Sheet