<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ed Schmalzle &#187; OS X</title>
	<atom:link href="http://www.edschmalzle.com/category/os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.edschmalzle.com</link>
	<description></description>
	<lastBuildDate>Thu, 19 Jan 2012 22:59:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Cool GitX Feature</title>
		<link>http://www.edschmalzle.com/2010/10/27/cool-gitx-feature/</link>
		<comments>http://www.edschmalzle.com/2010/10/27/cool-gitx-feature/#comments</comments>
		<pubDate>Thu, 28 Oct 2010 02:57:59 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.edschmalzle.com/?p=157</guid>
		<description><![CDATA[GitX shows you stage buttons for chunks of changes in a file it thinks go together which usually works out fine. What&#8217;s cool is that it also allows you to select lines with your mouse and stage them too. WIN. Selecting lines for staging in GitX from Ed Schmalzle on Vimeo.]]></description>
			<content:encoded><![CDATA[<p>GitX shows you stage buttons for chunks of changes in a file it thinks go together which usually works out fine. What&#8217;s cool is that it also allows you to select lines with your mouse and stage them too. WIN.</p>

<iframe src="http://player.vimeo.com/video/16266546" width="640" height="400" frameborder="0" style="margin: 0 auto;"></iframe>

<p><a href="http://vimeo.com/16266546">Selecting lines for staging in GitX</a> from <a href="http://vimeo.com/nerded">Ed Schmalzle</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edschmalzle.com/2010/10/27/cool-gitx-feature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting into tmux</title>
		<link>http://www.edschmalzle.com/2010/09/29/getting-into-tmux/</link>
		<comments>http://www.edschmalzle.com/2010/09/29/getting-into-tmux/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 14:22:14 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.edschmalzle.com/?p=123</guid>
		<description><![CDATA[I had tried out screen on OS X and failed to make it stick with me as a day to day tool, but recently I started using tmux and can&#8217;t imagine going back. Some of the things that set tmux apart are it&#8217;s ability to do vertical splits w/o any screwy patches and scriptability. Installation [...]]]></description>
			<content:encoded><![CDATA[<p>I had tried out screen on OS X and failed to make it stick with me as a day to day tool, but recently I started using <a href="http://tmux.sourceforge.net/">tmux</a> and can&#8217;t imagine going back. Some of the things that set tmux apart are it&#8217;s ability to do vertical splits w/o any screwy patches and scriptability.</p>

<h2>Installation</h2>

<p>So lets start with the basics, installation. </p>

<p><pre><code>brew install tmux</code></pre></p>

<p>You can surely install this other ways, but using <a href="http://github.com/mxcl/homebrew">homebrew</a> is super easy and you should be using it anyway.</p>

<h2>Settling In</h2>

<p>Like any tool there is some stuff that I got into the config file right away to make it feel more homey. First, I switched out the default command prefix C-b for C-a. From what I&#8217;ve read the only reason C-b is the default is so that it doesn&#8217;t conflict with scree. C-b is torture for your fingers though so there&#8217;s no reason to stick with that.</p>

<p><pre><code>set-option -g prefix C-a</code></pre></p>

<p>Next, because I use vim as my editor, I told tmux to us vi mode keys.</p>

<p><pre><code>setw -g mode-keys vi</code></pre></p>

<p>Finally, I setup some bindings so that I can move around splits using the vim movement keys.</p>

<p><pre><code>
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
</code></pre></p>

<p>That&#8217;s it. That&#8217;s everything in my ~/.tmux.conf right now. Like I said I just started with tmux so I&#8217;m sure my customizations will grow but as a vim user this is what I needed to make tmux feel more like home.</p>

<h2>Basic Operation</h2>

<p>As I got into using tmux there was definitely a point at which I learned just enough so that I was comfortable using it all the time and didn&#8217;t think to myself &#8220;Why am I using this, if I was using straight terminal I could do x so easily&#8221;. </p>

<p>Here&#8217;s the rundown of my most used commands&#8230;</p>

<p>Note: I use C-a in all the examples below, but if you have a different prefix set up substitute that for C-a.</p>

<p>Creating a new session from the command line:</p>

<p><pre><code>tmux new -s my_session_name</code></pre></p>

<p>Creating a new session from within a running session:</p>

<p><pre><code>C-a :
new -s my_session_name</code></pre></p>

<p>What&#8217;s cool here is that while in tmux you can hit <code>C-a :</code> and get a tmux command prompt and execute any of the normal tmux commands.</p>

<p>Attaching to running session:</p>

<p><pre><code>tmux attach -t some_session_name</code></pre></p>

<p>or if you know you only have one running session just:</p>

<p><pre><code>tmux attach</code></pre></p>

<p>Creating new windows while in a session: </p>

<p><pre><code>C-a c</code></pre></p>

<p>Naming your current window</p>

<p><pre><code>C-a ,</code></pre></p>

<p>Switching sessions:</p>

<p><pre><code>C-a s
</code></pre></p>

<p>Entering copy-mode:</p>

<p><pre><code>C-a [</code></pre></p>

<p>A note on copy-mode&#8230; I kind of think of this as entering normal mode in vim.Being in copy mode allows you to move around the terminal just like normal mode in vim. To be honest, I&#8217;m pretty sure I&#8217;m not using copy-mode to it&#8217;s full potential yet. I mainly use it to scroll up to see things that have gone out of view in my terminal window.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edschmalzle.com/2010/09/29/getting-into-tmux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>OS X, Full Keyboard Access, and Web Forms</title>
		<link>http://www.edschmalzle.com/2009/05/20/os-x-full-keyboard-access-and-web-forms/</link>
		<comments>http://www.edschmalzle.com/2009/05/20/os-x-full-keyboard-access-and-web-forms/#comments</comments>
		<pubDate>Thu, 21 May 2009 01:27:42 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://test.nerded.net/?p=59</guid>
		<description><![CDATA[For a while now I&#8217;ve been frustrated to find that when tabbing through a web form in Firefox select inputs don&#8217;t gain focus. I sat down today to research what it was that they were doing wrong so that I could avoid making the same mistake, and write a post describing the issue. What I [...]]]></description>
			<content:encoded><![CDATA[<p>For a while now I&#8217;ve been frustrated to find that when tabbing through a web form in Firefox select inputs don&#8217;t gain focus. I sat down today to research what it was that they were doing wrong so that I could avoid making the same mistake, and write a post describing the issue. What I found though was that it wasn&#8217;t the sites fault or the browsers. It turns out that what I was experiencing was merely a result of an OS X setting which determines what elements on the screen are able to get focus via tabbing. The default functionality is for OS X to only let you tab onto text inputs and lists. To change this you need to go to System Preferences -> Keyboard &amp; Mouse -> Keyboard Shortcuts and then turn on &#8220;Full Keyboard Access&#8221;. What&#8217;s more is that Safari ignores this setting entirely so while browsing in Safari you can tab onto select inputs whether full keyboard access is turned on or not. Who knew?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edschmalzle.com/2009/05/20/os-x-full-keyboard-access-and-web-forms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ProjectPlus for TextMate</title>
		<link>http://www.edschmalzle.com/2008/12/06/projectplus-for-textmate/</link>
		<comments>http://www.edschmalzle.com/2008/12/06/projectplus-for-textmate/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 01:25:34 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">http://test.nerded.net/?p=53</guid>
		<description><![CDATA[By way of Alex Paynes Blog comes a tip about ProjectPlus, pretty much exactly what I&#8217;ve been looking for to make the TextMate project panel more useful. Awesome stuff.]]></description>
			<content:encoded><![CDATA[<p>By way of <a href="http://al3x.net/2008/12/03/how-i-use-textmate.html">Alex Paynes Blog</a> comes a tip about ProjectPlus, pretty much exactly what I&#8217;ve been looking for to make the TextMate project panel more useful. Awesome stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edschmalzle.com/2008/12/06/projectplus-for-textmate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SpawnEclipse Update</title>
		<link>http://www.edschmalzle.com/2008/09/26/update-spawneclipse/</link>
		<comments>http://www.edschmalzle.com/2008/09/26/update-spawneclipse/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 01:22:47 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://test.nerded.net/?p=45</guid>
		<description><![CDATA[I&#8217;ve put the code for the AppleScript mentioned in my previous post up on github (here). I also added a rakefile that will compile the script as well as drop it in your applications folder if you&#8217;d like.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve put the code for the AppleScript mentioned in my previous post up on github (<a href="http://github.com/nerdEd/spawneclipse/tree/master">here</a>). I also added a rakefile that will compile the script as well as drop it in your applications folder if you&#8217;d like.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edschmalzle.com/2008/09/26/update-spawneclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eclipse Spawning AppleScript</title>
		<link>http://www.edschmalzle.com/2008/08/04/eclipse-spawning-applescript/</link>
		<comments>http://www.edschmalzle.com/2008/08/04/eclipse-spawning-applescript/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 01:22:00 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://test.nerded.net/?p=43</guid>
		<description><![CDATA[AppleScript droplet to spawn multiple instances of Eclipse on Mac OS X. Just drop Eclipse.app file onto the droplet.]]></description>
			<content:encoded><![CDATA[<p>AppleScript droplet to spawn multiple instances of Eclipse on Mac OS X. Just drop Eclipse.app file onto the droplet.</p>

<script src="http://gist.github.com/43680.js"></script>
]]></content:encoded>
			<wfw:commentRss>http://www.edschmalzle.com/2008/08/04/eclipse-spawning-applescript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

