<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-12537303</atom:id><lastBuildDate>Mon, 07 Jul 2008 17:06:12 +0000</lastBuildDate><title>Adventures in vim.</title><description/><link>http://vim.thomaspowell.com/</link><managingEditor>noreply@blogger.com (Thomas)</managingEditor><generator>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-12537303.post-115037758484888283</guid><pubDate>Thu, 15 Jun 2006 13:18:00 +0000</pubDate><atom:updated>2006-06-15T06:19:44.866-07:00</atom:updated><title>Vim references</title><description>&lt;a href="http://vim.sourceforge.net/htmldoc/quickref.html"&gt;http://vim.sourceforge.net/htmldoc/quickref.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.vim.org/tips/tip.php?tip_id=422"&gt;http://www.vim.org/tips/tip.php?tip_id=422&lt;/a&gt;</description><link>http://vim.thomaspowell.com/2006/06/vim-references.html</link><author>noreply@blogger.com (Thomas)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-12537303.post-111816341046955527</guid><pubDate>Tue, 07 Jun 2005 16:47:00 +0000</pubDate><atom:updated>2005-06-07T09:56:50.473-07:00</atom:updated><title>remotesplit for cscope revisited</title><description>I've decided to go with a remote tactic that's slightly more reliable than my previous tactic:  Name the gvim server by the contents of the $DISPLAY variable.  I have side-by-side PCs with their own X-servers, so I want to send the file to the gvim server that is outputting the same place as my cscope session.  I now grep the $DISPLAY out of the gvim server list, to determing whether I am going to set up a new server or use an existing one.&lt;br /&gt;&lt;br /&gt;My remotesplit:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;gvim --serverlist | grep -i &amp;quot;$DISPLAY&amp;quot; 2&amp;gt;/dev/null&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;if [ $? -ne 0 ]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;then&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;gvim --servername $DISPLAY $*&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;else&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;gvim --remote-send "&amp;lt;ESC&amp;gt;:sp $CSCOPE_ROOT/$2&amp;lt;CR&amp;gt;:0&amp;lt;CR&amp;gt;:$1&amp;lt;CR&amp;gt;:-1&amp;lt;CR&amp;gt;" 2&gt;/dev/null&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;fi&lt;/span&gt;</description><link>http://vim.thomaspowell.com/2005/06/remotesplit-for-cscope-revisited.html</link><author>noreply@blogger.com (Thomas)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-12537303.post-111625346547553869</guid><pubDate>Mon, 16 May 2005 14:13:00 +0000</pubDate><atom:updated>2005-05-16T07:28:49.276-07:00</atom:updated><title>remotesplit for cscope</title><description>On a multiuser environment, I added the 'ps -fu' bit to detect a gvim session, slightly more fool-resistant than just checking the result code of the --remote-send call.&lt;br /&gt;&lt;br /&gt;My remotesplit:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ps -fu $LOGNAME | grep -v grep | grep gvim 2&gt;/dev/null&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;if [ $? -ne 0 ]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;then&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;gvim $*&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;else&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;gvim --remote-send "&amp;lt;ESC&amp;gt;:sp $CSCOPE_ROOT/$2&amp;lt;CR&amp;gt;:0&amp;lt;CR&amp;gt;:$1&amp;lt;CR&amp;gt;:-1&amp;lt;CR&amp;gt;" 2&gt;/dev/null&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;fi&lt;/span&gt;</description><link>http://vim.thomaspowell.com/2005/05/remotesplit-for-cscope.html</link><author>noreply@blogger.com (Thomas)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-12537303.post-111480741625058583</guid><pubDate>Fri, 29 Apr 2005 20:41:00 +0000</pubDate><atom:updated>2005-04-30T18:50:54.196-07:00</atom:updated><title>gvim-specific</title><description>&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-family: courier new;"&gt;:menu MENUBARITEM.DROPDOWNITEM [keystrokes go here]&lt;/span&gt; - Appends/updates a drop-down menu, MENUBARITEM, with DROPDOWNITEM as the last menu selection. When this menu is selected, the keystrokes specified at the end are entered.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;fixed style="font-family: courier new;"&gt;:hi Search guibg=LightGreen&lt;/fixed&gt; - change background for search highlighting.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;</description><link>http://vim.thomaspowell.com/2005/04/gvim-specific.html</link><author>noreply@blogger.com (Thomas)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-12537303.post-111480604062460803</guid><pubDate>Fri, 29 Apr 2005 20:19:00 +0000</pubDate><atom:updated>2005-05-03T08:10:03.576-07:00</atom:updated><title>Command line options</title><description>&lt;ul&gt;   &lt;li&gt;&lt;fixed style="font-family: courier new;"&gt;-o N&lt;/fixed&gt; - open N windows, or as many windows as file arguments passed (open windows as splits within the same session)&lt;/li&gt; &lt;/ul&gt;</description><link>http://vim.thomaspowell.com/2005/04/command-line-options.html</link><author>noreply@blogger.com (Thomas)</author></item></channel></rss>