<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Vim-Surround on Cheat Sheet</title><link>/kr/tags/vim-surround/</link><description>Recent content in Vim-Surround on Cheat Sheet</description><generator>Hugo</generator><language>kr</language><lastBuildDate>Sun, 24 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="/kr/tags/vim-surround/index.xml" rel="self" type="application/rss+xml"/><item><title>vim-surround</title><link>/kr/dotfiles/vim/plugin/vim-surround/</link><pubDate>Sun, 24 May 2026 00:00:00 +0000</pubDate><guid>/kr/dotfiles/vim/plugin/vim-surround/</guid><description>&lt;h1 id="vim-surround"&gt;&lt;code&gt;vim-surround&lt;/code&gt;&lt;a class="anchor" href="#vim-surround"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;&lt;a href="https://github.com/tpope/vim-surround"&gt;GitHub Repository&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="description"&gt;Description&lt;a class="anchor" href="#description"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;따옴표, 괄호, HTML 태그 등 주변 문자를 관리한다.&lt;/p&gt;
&lt;h3 id="main-usage"&gt;Main Usage&lt;a class="anchor" href="#main-usage"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;cs&amp;lt;old&amp;gt;&amp;lt;new&amp;gt;&lt;/code&gt;&lt;/strong&gt;: 주변 문자 &lt;code&gt;&amp;lt;old&amp;gt;&lt;/code&gt;를 &lt;code&gt;&amp;lt;new&amp;gt;&lt;/code&gt;로 변경한다 (eg. &lt;code&gt;cs&amp;quot;'&lt;/code&gt;는 큰따옴표를 작은따옴표로 변경).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;ds&amp;lt;char&amp;gt;&lt;/code&gt;&lt;/strong&gt;: 주변 문자 &lt;code&gt;&amp;lt;char&amp;gt;&lt;/code&gt;를 삭제한다.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;ys&amp;lt;motion&amp;gt;&amp;lt;char&amp;gt;&lt;/code&gt;&lt;/strong&gt;: 지정한 motion 대상에 주변 문자 &lt;code&gt;&amp;lt;char&amp;gt;&lt;/code&gt;를 추가한다 (eg. &lt;code&gt;ysiw&amp;quot;&lt;/code&gt;는 단어를 큰따옴표로 감쌈).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;S&amp;lt;char&amp;gt;&lt;/code&gt; (Visual Mode)&lt;/strong&gt;: 선택 영역을 &lt;code&gt;&amp;lt;char&amp;gt;&lt;/code&gt;로 감싼다.&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>