<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>vim on My Blog</title>
    <link>https://fatjing.github.io/tags/vim/</link>
    <description>Recent content in vim on My Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 01 Apr 2021 19:19:00 +0800</lastBuildDate><atom:link href="https://fatjing.github.io/tags/vim/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Use Vim&#39;s Registers to Mimic Killring</title>
      <link>https://fatjing.github.io/posts/vim-registers-killring/</link>
      <pubDate>Thu, 01 Apr 2021 19:19:00 +0800</pubDate>
      
      <guid>https://fatjing.github.io/posts/vim-registers-killring/</guid>
      <description>&lt;p&gt;The so called &amp;lsquo;kill ring&amp;rsquo; is that the content you kill (delete or yank) in an editor will be stored in a stack like place. Later you could cycle through the items in the stack by pressing shortcuts without worrying about losing the text you killed previously.&lt;/p&gt;
&lt;p&gt;There&amp;rsquo;re a lot plugins for vim to mimic this behavior, like yankstack.vim, yankring.vim. Unfortunately, these plugins change too much of vim&amp;rsquo;s default behavior and often conflict with many other plugins.&lt;/p&gt;
&lt;p&gt;So I did a little research to see if I could achieve this function with vim&amp;rsquo;s built-in features, and it turns out vim&amp;rsquo;s register could fulfill my need easily.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
