<?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; Web Development</title>
	<atom:link href="http://www.edschmalzle.com/category/web-development/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>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>Cross browser CSS inspector &#8211;&gt; XRAY</title>
		<link>http://www.edschmalzle.com/2009/03/23/cross-browser-css-inspector-xray/</link>
		<comments>http://www.edschmalzle.com/2009/03/23/cross-browser-css-inspector-xray/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 01:26:56 +0000</pubDate>
		<dc:creator>Ed</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://test.nerded.net/?p=57</guid>
		<description><![CDATA[I may be a little late to the game on this one, but I just came across XRAY. XRAY is a bookmarklet that lets you inspect all of the CSS properties associated with any element in the web page you&#8217;re currently viewing. Best of all, it works in all of the browsers I use for [...]]]></description>
			<content:encoded><![CDATA[<p>I may be a little late to the game on this one, but I just came across <a href="http://westciv.com/xray/">XRAY</a>. XRAY is a bookmarklet that lets you inspect all of the CSS properties associated with any element in the web page you&#8217;re currently viewing. Best of all, it works in all of the browsers I use for testing plus some (Internet Explorer 6+, and Webkit and Mozilla based browsers &#8211; including Safari, Firefox, Camino or Mozilla). I&#8217;m still going to use Firebug and the IE Developer Toolbar for digging deep into a page and tweaking properties to get things just right, but having a common user interface across browsers for simple CSS inspection is great.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.edschmalzle.com/2009/03/23/cross-browser-css-inspector-xray/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

