<?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>Ivan Čukić &#187; Vim</title>
	<atom:link href="http://ivan.fomentgroup.org/blog/category/vim/feed/" rel="self" type="application/rss+xml" />
	<link>http://ivan.fomentgroup.org/blog</link>
	<description>Free Software Developer and Enthusiast</description>
	<lastBuildDate>Fri, 20 Aug 2010 10:12:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>It&#8217;s all text!</title>
		<link>http://ivan.fomentgroup.org/blog/2009/03/26/its-all-text/</link>
		<comments>http://ivan.fomentgroup.org/blog/2009/03/26/its-all-text/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 12:21:41 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://ivan.fomentgroup.org/blog/2009/03/26/its-all-text/">Ivan Čukić</span></dc:creator>
				<category><![CDATA[Vim]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[planetKDE]]></category>

		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=483</guid>
		<description><![CDATA[Just to share with you something I&#8217;ve stumbled upon. A Firefox plugin that allows you to use your favourite text editor for filling up the text areas in a page. It can be found at https://addons.mozilla.org/en-US/firefox/addon/4125 This post, for example, was typed in Vim!]]></description>
			<content:encoded><![CDATA[<p>Just to share with you something I&#8217;ve stumbled upon.</p>
<p>A Firefox plugin that allows you to use your favourite text editor<br />
for filling up the text areas in a page. It can be found at<br />
<a href="https://addons.mozilla.org/en-US/firefox/addon/4125">https://addons.mozilla.org/en-US/firefox/addon/4125</a></p>
<p>This post, for example, was typed in Vim!</p>
]]></content:encoded>
			<wfw:commentRss>http://ivan.fomentgroup.org/blog/2009/03/26/its-all-text/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>VIDE (Vim with Qt Creator&#8217;s Quick Browse and more&#8230;)</title>
		<link>http://ivan.fomentgroup.org/blog/2009/03/08/vide/</link>
		<comments>http://ivan.fomentgroup.org/blog/2009/03/08/vide/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 10:23:25 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://ivan.fomentgroup.org/blog/2009/03/08/vide/">Ivan Čukić</span></dc:creator>
				<category><![CDATA[Vim]]></category>
		<category><![CDATA[planetKDE]]></category>
		<category><![CDATA[Qt Creator]]></category>
		<category><![CDATA[Vide]]></category>

		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=454</guid>
		<description><![CDATA[As you probably don&#8217;t remember (it was a long time ago), I was inspired by one Qt Creator&#8217;s feature &#8211; namely the Quick Browser &#8211; which I wanted to add to Vim. I haven&#8217;t touched it in a while due to lack of time and the promise of Vim emulation in Qt Creator. Since I [...]]]></description>
			<content:encoded><![CDATA[<p>As you probably don&#8217;t remember (<a href="http://ivan.fomentgroup.org/blog/2008/11/16/vim-quick-browse/">it was a long time ago</a>), I was inspired by one Qt Creator&#8217;s feature &#8211; namely the Quick Browser &#8211; which I wanted to add to Vim. I haven&#8217;t touched it in a while due to lack of time and the promise of Vim emulation in Qt Creator. Since I find the Vim emulation in QtC not mature enough (I&#8217;ll leave commenting the final QtC 1.0 for some other time), I decided to continue working on the <em>Vim with Runners</em> project, or VIDE, the Vim IDE.</p>
<p>Vim has many plugins available at <a href="http://www.vim.org/scripts/index.php">www.vim.org/scripts/</a> but the thing that I find annoying is that most of them are not really meant to work well together. So, for example, the Project plugin and the tag browser plugin open separate <em>panels</em> instead of sharing the same one, thus using too much screen real-estate&#8230;</p>
<p><img src="http://ivan.fomentgroup.org/blog/wp-content/uploads/2009/03/vide-128.png" alt="Vide Logo" title="Vide Logo" width="128" height="128" class="alignleft size-full wp-image-455" /></p>
<p><b>Before I begin, I would just like to note that Vide is still in its infancy and not all things are yet working properly, or at all. To see what does work, keep reading.</b></p>
<p>The point of Vide is to provide some standard framework for people who want to use it, so that a greater integration can be achieved. It is written in Python (so Vim with +python compile-time option is required) so writing new runners is a breeze.</p>
<p>The runners (the name is taken from the <a href="http://plasma.kde.org/" class="kblinker" target="_blank">Plasma</a> project) are meant to provide results for the entered query. The difference between plasma&#8217;s runners and the ones in VIde is that Vide activates only one runner at a time. Personally, I find that to be a better solution in this case. To choose the runner you want to use, just prefix the query with the runner&#8217;s key. For example, to find a file in the source tree that contains &#8216;vide&#8217; in its name, just enter &#8220;f vide&#8221; as the query (&#8220;f&#8221; being the key of the Find runner)</p>
<h2>Runners</h2>
<p>To open the Vide panel, press Ctrl+A (this can be changed, but I&#8217;ll cover that later)</p>
<h3>Quick Browser</h3>
<p>The Quick Browser is invoked with the &#8216;qb &#8216; prefix, but since it is the default runner, you can omit the prefix, and enter only the class name you are searching for. For example, if your query is &#8220;Butto&#8221; (or &#8220;qb Butto&#8221;), you&#8217;ll get all classes named Butto<something>. The Quick Browser uses a CTags file to retrieve the list of matches, so you need to keep the ctags file updated.</p>
<p>Currently, the only way to recreate the tags file is to call <strong>:QuickBrowserReloadTags</strong> but that will change soon. Vide is going to provide a quick automatic regeneration of the tags file thanks to the iNotify (optional &#8211; set via the vide project configuration file).</p>
<p>Apart from CTags, QB runner supports PTags (for python). Note that you need to have the ptags.py in your path for this to work.</p>
<h3>Find and Grep</h3>
<p>The other two existing runners are Find and Grep, whose keywords are &#8220;f&#8221; and &#8220;g&#8221; respectively.</p>
<h2>Project organization</h2>
<p>In order for Vide to be loaded, firstly you&#8217;ll need to add it to vim&#8217;s plugins, or do a manual :source /path/to/vide.vim. You can freely do the former one since Vide will not bother you if you&#8217;re not working on a vide-enabled project.</p>
<p>To make a vide-enabled project, you&#8217;ll need to create a .videproject directory in the project&#8217;s root. There is no UI for this at the moment, so it needs to be done manually. You have an example .videproject directory in the SVN (Vide contains its own .videproject &#8211; it can be used for other projects aswell).</p>
<p>When you start Vim (and load vide.vim script) it will check for the .videproject directory in the current working directory, and if it doesn&#8217;t exist, it will not be loaded, and you&#8217;ll get your regular Vim.</p>
<p>If the .videproject is found, with all necessary sub-items, Vide will be loaded. The another thing that is important to mention is that you can place Vim plugins/scripts inside the .videproject/plugin subdirectory &#8211; if you need those plugins only for that project.</p>
<p>Well, that is all for now, the project is located at <a href="http://sourceforge.net/projects/vide/">http://sourceforge.net/projects/vide/</a>, so you can grab the sources from the SVN there. Just note that it is not finished &#8211; this is just a pre-alpha-tech-preview-release <img src='http://ivan.fomentgroup.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you have any questions, feel free to ask.</p>
]]></content:encoded>
			<wfw:commentRss>http://ivan.fomentgroup.org/blog/2009/03/08/vide/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Vim and Qt Creator&#8217;s Quick Browse</title>
		<link>http://ivan.fomentgroup.org/blog/2008/11/16/vim-quick-browse/</link>
		<comments>http://ivan.fomentgroup.org/blog/2008/11/16/vim-quick-browse/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 19:42:51 +0000</pubDate>
		<dc:creator><span property="dc:creator" resource="http://ivan.fomentgroup.org/blog/2008/11/16/vim-quick-browse/">Ivan Čukić</span></dc:creator>
				<category><![CDATA[Vim]]></category>
		<category><![CDATA[planetKDE]]></category>
		<category><![CDATA[Qt Creator]]></category>

		<guid isPermaLink="false">http://ivan.fomentgroup.org/blog/?p=221</guid>
		<description><![CDATA[Although this is not much related to KDE, or at all in fact, I decided to post it on my KDE development blog simply because there are so many KDE (and other) developers using Vim as their main (and only) IDE. As I said earlier, I am a Vim fan, and I can not see [...]]]></description>
			<content:encoded><![CDATA[<p>Although this is not much related to <a href="http://www.kde.org/" class="kblinker" target="_blank">KDE</a>, or at all in fact, I decided to post it on my KDE development blog simply because there are so many KDE (and other) developers using Vim as their main (and only) IDE.</p>
<p>As I said <a href="http://ivan.fomentgroup.org/blog/2008/11/04/qt-creator/">earlier</a>, I am a Vim fan, and I can not see that it will change in the foreseeable future. But, I have to say that, although I don&#8217;t find it a complete replacement of Vim&#8217;s Project plugin, that Quick Browser of Qt Creator is a very nifty feature.</p>
<p>So, I decided to start writing a Vim script which will emulate the Quick Browser behaviour. And so it started. The first version was a proof of concept one and it was designed so that the quick browser showed its results in a side panel (just as the Project plugin does).</p>
<p><a href="http://ivan.fomentgroup.org/blog/wp-content/uploads/2008/11/vide.png"><img src="http://ivan.fomentgroup.org/blog/wp-content/uploads/2008/11/vide-300x184.png" alt="" title="Vide Side Panel" width="300" height="184" class="size-medium wp-image-222" /></a></p>
<p>And it worked quite fast.</p>
<p>The problem was that the Project, Code Navigator and my Quick Browser couldn&#8217;t work together very well &#8211; each one wanted it&#8217;s own window/buffer. So, I decided to start writing a simple Python (yes, Vim now supports Python scripting) framework that allows multiple plugins (called runners &#8211; took the name from <a href="http://plasma.kde.org/" class="kblinker" target="_blank">Plasma</a>/KRunner and I&#8217;m not ashamed) which are based on that framework to work together in harmony.</p>
<p>The project waits approval at SourceForge under the name Vide (obviously short for Vim &#8211; IDE). Currently only Quick Browser runner exists, but I&#8217;ll add more later.</p>
<p><b>Project management</b></p>
<p>And, that&#8217;s not all. There will be project meta-data which will allow you to define different build tools (cmake and qmake come to mind), &#8230;, and everything else I come up with&#8230; Since I&#8217;m bored and have to take my dog for a walk, this is all for now. So stay tuned.</p>
]]></content:encoded>
			<wfw:commentRss>http://ivan.fomentgroup.org/blog/2008/11/16/vim-quick-browse/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
