<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Vim on Insignificant Bits</title>
    <link>https://bobcopeland.com/blog/tags/vim/</link>
    <description>Recent content in Vim on Insignificant Bits</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <lastBuildDate>Thu, 25 Feb 2016 17:22:17 +0000</lastBuildDate>
    <atom:link href="https://bobcopeland.com/blog/tags/vim/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>On mac vi and error exits</title>
      <link>https://bobcopeland.com/blog/2016/02/on-mac-vi-and-error-exits/</link>
      <pubDate>Thu, 25 Feb 2016 17:22:17 +0000</pubDate>
       <guid isPermaLink="false">http://bobcopeland.com/blog/?p=2270</guid> 
      <description>&lt;p&gt;Sometimes I have to use a Mac, and various things drive me nuts about it. The worst is &lt;code&gt;git commit&lt;/code&gt; aborting because I typoed the writeout command after having written the best commit log ever. Here&amp;rsquo;s a google crumb for others experiencing this, and ideally for someone who wants to track down and fix the problem upstream.&lt;/p&gt;
&lt;p&gt;Synopsis: do the below, and type the following once vim starts up: &lt;code&gt;:Wq[enter]:q[enter]&lt;/code&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>vim cheat codes</title>
      <link>https://bobcopeland.com/blog/2014/05/vim-cheat-codes/</link>
      <pubDate>Thu, 01 May 2014 21:13:47 +0000</pubDate>
       <guid isPermaLink="false">http://bobcopeland.com/blog/?p=2047</guid> 
      <description>&lt;p&gt;Or, how I read parts of the fine manual.&lt;/p&gt;
&lt;p&gt;Yesterday, after spending way too much time trying to get find(1) to exclude vim swapfiles, I finally had it with them cluttering up my work directories. As is usually the case when vim triggers an itch, I thought, &amp;ldquo;there must be a setting for that,&amp;rdquo; and lo, there was.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;set directory=~/.vimswap//&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Make that directory and all the swap files go there instead. The trailing double slashes mean the swap files get named in such a way as to avoid conflicts.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
