#author("2021-07-12T02:03:43+09:00","default:ryuichi","ryuichi")
#author("2021-07-12T02:05:14+09:00","default:ryuichi","ryuichi")
* Surround.vim [#d6ec624a]
** '''S''' 選択した文字列を囲む [#e5a9756b]
fox → 'fox'
#ref(vim-surroundvim-S.gif)
- 対象の文字列を選択して、'''S + 文字''' で指定した文字で囲む
** '''ds + 文字''' 囲みを削除する [#o245cecc]
'fox' → fox
#ref(vim-surroundvim-ds.gif)
- '''ds + 文字''' で指定した文字の囲みを削除する
** '''cs + 変更前の文字 + 変更後の文字''' 囲みを変更する [#n703b144]
"fox" → 'fox'
#ref(vim-surroundvim-cs.gif)
- '''cs + 変更前の文字 + 変更後の文字''' で指定した変更前の文字を変更後の文字に変える
** '''ys + モーション + 文字''' 指定した文字で囲む [#u27d8209]
fox → 'fox'
#ref(vim-surroundvim-ys.gif)