<?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 Bridge</title><link>https://quarternotecoda.com/tags/vim/</link><description>Recent content in Vim on Bridge</description><generator>Hugo -- 0.160.1</generator><language>en-us</language><lastBuildDate>Mon, 05 Aug 2013 00:00:00 +0000</lastBuildDate><atom:link href="https://quarternotecoda.com/tags/vim/index.xml" rel="self" type="application/rss+xml"/><item><title>How To VIM+TMUX</title><link>https://quarternotecoda.com/posts/2013-08-05-how-to-vim-plus-tmux/</link><pubDate>Mon, 05 Aug 2013 00:00:00 +0000</pubDate><guid>https://quarternotecoda.com/posts/2013-08-05-how-to-vim-plus-tmux/</guid><description>&lt;iframe width="560" height="315" src="//www.youtube.com/embed/gB-JSh1EVME" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;
&lt;p&gt;&lt;a href="http://twitter.com/chrishunt"&gt;Chris Hunt&lt;/a&gt; gave a great presentation at LA Ruby
Conf about
&lt;a href="http://www.confreaks.com/videos/2291-larubyconf2013-impressive-ruby-productivity-with-vim-and-tmux"&gt;VIM+TMUX&lt;/a&gt;.
There, he shows you a bunch of cool things you can do with VIM and TMUX.&lt;/p&gt;
&lt;p&gt;But he doesn&amp;rsquo;t tell you &lt;em&gt;how&lt;/em&gt; to do them.&lt;/p&gt;
&lt;p&gt;So here, I&amp;rsquo;m going to list each of the things he does and give you the
keystrokes/information you need to do what he&amp;rsquo;s talking about.&lt;/p&gt;
&lt;h2 id="tmux"&gt;TMUX&lt;/h2&gt;
&lt;p&gt;For these shortcuts, the &lt;code&gt;prefix&lt;/code&gt; is mapped to &lt;code&gt;C-b&lt;/code&gt; (i.e. &lt;code&gt;Ctrl-b&lt;/code&gt;) &amp;ndash; though
I believe it is much faster and more comfortable to map it to &lt;code&gt;C-a&lt;/code&gt;. Chris
even maps his to &lt;code&gt;C-j&lt;/code&gt; so you use two different hands.&lt;/p&gt;</description></item><item><title>Pairing Post Mortem - @jnanney - OAuth</title><link>https://quarternotecoda.com/posts/2013-07-18-pairing-post-mortem-at-jnanney-oauth/</link><pubDate>Thu, 18 Jul 2013 00:00:00 +0000</pubDate><guid>https://quarternotecoda.com/posts/2013-07-18-pairing-post-mortem-at-jnanney-oauth/</guid><description>&lt;p&gt;I finally got a chance to pair with &lt;a href="http://twitter.com/jnanney"&gt;@jnanney&lt;/a&gt; tonight. He had a project dealing with the OnStar API that needed OAuth Authentication, so we took a stab at implementing it.&lt;/p&gt;
&lt;h2 id="setup"&gt;Setup&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Skype - TIL Skype 6.x turns off your video if you connect to a Skype 2.0 client&amp;ndash;but the audio still works!&lt;/li&gt;
&lt;li&gt;TMUX+VIM on a slice (not local)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="experience"&gt;Experience&lt;/h2&gt;
&lt;p&gt;We started by making some large, rough ideas about what we wanted to accomplish and then began looking up some things on OAuth2 to help us accomplish them. Pretty quickly we stopped driving everything via tests and started exploring via &lt;code&gt;IRB&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Pairing Post Mortem - @willpragnell - Mute Pairing with VIM</title><link>https://quarternotecoda.com/posts/2013-07-09-pairing-post-mortem-at-willpragnell-mute-pairing-with-vim/</link><pubDate>Tue, 09 Jul 2013 00:00:00 +0000</pubDate><guid>https://quarternotecoda.com/posts/2013-07-09-pairing-post-mortem-at-willpragnell-mute-pairing-with-vim/</guid><description>&lt;p&gt;Last week I had the opportunity to pair again with &lt;a href="http://twitter.com/willpragnell"&gt;@willpragnell&lt;/a&gt;. He had just moved and didn&amp;rsquo;t have internet access, so I suggested that we try a &amp;ldquo;mute&amp;rdquo; pairing session from a coffee shop, where all our communication happened through VIM.&lt;/p&gt;
&lt;p&gt;He was game, so we started off with a quick chat session on Google+ to get set up, and then switched to a VIM+TMUX setup for the rest of the time.&lt;/p&gt;</description></item><item><title>Pairing Post Mortem - @_zph - VIM and a Gem</title><link>https://quarternotecoda.com/posts/2013-06-05-pairing-post-mortem-at-zph-vim-and-a-gem/</link><pubDate>Wed, 05 Jun 2013 00:00:00 +0000</pubDate><guid>https://quarternotecoda.com/posts/2013-06-05-pairing-post-mortem-at-zph-vim-and-a-gem/</guid><description>&lt;p&gt;Last night I had a great &lt;a href="http://pairprogramwith.me"&gt;#pairwithme&lt;/a&gt; session with &lt;a href="http://twitter.com/_zph"&gt;@_zph&lt;/a&gt;. He&amp;rsquo;s been doing Ruby on nights and weekends for the last few years and he&amp;rsquo;s been using &lt;a href="http://www.vim.org"&gt;VIM&lt;/a&gt; much longer than I have. I learned a lot of little tricks about VIM that I just hadn&amp;rsquo;t quite worked out before. We also refactored some of his &lt;a href="http://github.com/zph/buff"&gt;Buff&lt;/a&gt; Gem.&lt;/p&gt;
&lt;p&gt;Setup:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Zander had a VPS already provisioned with my ssh keys installed. Super Easy setup.&lt;/li&gt;
&lt;li&gt;TMUX + VIM for our editors&lt;/li&gt;
&lt;li&gt;RSpec for testing the Gem&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We started off trying to think of what to pair on within Zander&amp;rsquo;s gem. He was concerned about the tests, so we actually spent a fair amount of time just looking at the WebMocked tests and discussing the pros and cons. Eventually we decided that WebMock might be a good way to start off your TDD of an API wrapper since you have complete control of the response, but VCR gives you the best long term support since you can both get fast tests and confirm that you&amp;rsquo;re still working with the API correctly and that you didn&amp;rsquo;t just magically stub out the wrong thing&amp;ndash;just delete your cassette and you&amp;rsquo;ve got &amp;ldquo;free&amp;rdquo; real API tests, followed by nice fast tests.&lt;/p&gt;</description></item><item><title>Using VIM Fulltime</title><link>https://quarternotecoda.com/posts/2013-01-05-using-vim-fulltime/</link><pubDate>Sat, 05 Jan 2013 00:00:00 +0000</pubDate><guid>https://quarternotecoda.com/posts/2013-01-05-using-vim-fulltime/</guid><description>&lt;p&gt;I&amp;rsquo;ve used various IDEs for the last 10 years of development. Started with &lt;a href="http://eclipse.org"&gt;Eclipse&lt;/a&gt; while developing in Java. Switched to &lt;a href="http://macromates.com"&gt;TextMate&lt;/a&gt; when I moved to a Mac and started developing in Ruby. Eventually, TextMate&amp;rsquo;s development became stale and things other people were able to do with their editors started to look good. I began searching, and even bought a license for &lt;a href="http://sublimetext.com"&gt;Sublime Text 2&lt;/a&gt;. It had a lot of what I was looking for, but what I wanted was an editor that let me never leave my keyboard unless I wanted to and had good integration points. I&amp;rsquo;d love a good fullscreen mode since I&amp;rsquo;m a bit of a FullScreen addict on Mac.&lt;/p&gt;</description></item></channel></rss>