<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>H3RALD - Tag 'vim' (RSS Feed)</title>
    <language>en-us</language>
    <lastBuildDate>Thu, 12 Nov 2009 12:34:29 -0000</lastBuildDate>
    <ttl>40</ttl>
    <link>http://www.h3rald.com</link>
    <description/>
    <item>
      <title>herald.vim 0.2.1 released</title>
      <description>&lt;p style="float:right;"&gt;&lt;img src="/images/herald.vim/0.2.1_release.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="dropcap"&gt;I&lt;/span&gt; just updated the &lt;a href="/herald-vim-color-scheme/"&gt;Herald Vim color scheme&lt;/a&gt; to improve the readability of delimiters and search results.&lt;/p&gt;
&lt;p&gt;Delimiters are now red (the same color as operators) instead of yellow, so that you can tell the start and end of a string or regular expression more easily. Additionally, search results are no longer highlighted with black text on an orange background for two reasons:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;the orange background is a bit too strong&lt;/li&gt;
	&lt;li&gt;the black foreground causes letters to become &lt;em&gt;completely hidden&lt;/em&gt; by the &lt;em&gt;cursorline&lt;/em&gt; and &lt;em&gt;cursorcolumn&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Search results now have a gray background and a yellow background, as shown in the screenshot on the right.&lt;/p&gt;
&lt;p&gt;If you have any constructive suggestion on how to improve this color scheme, don&amp;#8217;t hesitate to add a comment to this post!&lt;/p&gt;</description>
      <pubDate>Thu, 12 Nov 2009 12:34:29 -0000</pubDate>
      <guid>http://www.h3rald.com/articles/herald-vim-021/</guid>
      <link>http://www.h3rald.com/articles/herald-vim-021/</link>
      <author>h3rald@h3rald.com</author>
      <comments>http://www.h3rald.com/articles/herald-vim-021/#comments</comments>
      <category>programming</category>
      <category>vim</category>
    </item>
    <item>
      <title>Personal Log - June 2009</title>
      <description>&lt;p&gt;Welcome to yet another of my extremely boring, excessively fragmented &lt;a href="/tags/personal_log"&gt;personal log&lt;/a&gt; posts. I&amp;#8217;m seriously thinking of dropping the whole series in favor of more frequent (and shorter) blog posts, starting from next year. This means you&amp;#8217;ll probably have to read &lt;em&gt;another six&lt;/em&gt; of these priceless gems, until december 2009.&lt;br /&gt;
As usual, feel free to skim through as each of the following &lt;em&gt;sections&lt;/em&gt; is almost completely unrelated to the others.&lt;/p&gt;
&lt;h3&gt;H3RALD Web Site v8.0&lt;/h3&gt;
&lt;p&gt;It&amp;#8217;s the time of the year, again. It doesn&amp;#8217;t happen &lt;em&gt;every&lt;/em&gt; year but it&amp;#8217;s definitely a trend (hence the high version number): I&amp;#8217;m going to redesign &amp;amp; redevelop my web site.&lt;/p&gt;
&lt;p&gt;This time is not the usual &amp;#8220;Let&amp;#8217;s pick another language and another framework and start from scratch&amp;#8221;, but a rather more radical shift, and yet at the same time less painful. The idea is to transform H3RALD.com into a 100% static web site, without losing anything in functionality (gaining, if anything!).&lt;/p&gt;
&lt;p&gt;&lt;a href="/http://tom.preston-werner.com/"&gt;Tom Preston-Werner&lt;/a&gt; is definitely &lt;em&gt;not&lt;/em&gt; the first person to &lt;a href="http://tom.preston-werner.com/2008/11/17/blogging-like-a-hacker.html"&gt;blog like a hacker&lt;/a&gt;, and his very own &lt;a href="http://www.jekyllrb.com/"&gt;Jekyll&lt;/a&gt; is definitely not the first static web site generator our there, nevertheless, he inspired me to embrace what seems to be one of the latest trend in developer&amp;#8217;s blogs.&lt;/p&gt;
&lt;p&gt;The idea is simple: turn all the blog posts and pages into static content, and rely on third party web services for things like comments, search etc. For a rather extreme by very interesting example, see &lt;a href="http://tagaholic.me/"&gt;Tagaholic&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The advantages of this approach are many:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Free yourself from a database.&lt;/li&gt;
	&lt;li&gt;Free yourself from a resource-hungry, server-side app (&lt;a href="http://wiki.github.com/fdv/typo/"&gt;Typo&lt;/a&gt;, in this case).&lt;/li&gt;
	&lt;li&gt;Increase speed and reliability, without using caching or similar artifacts.&lt;/li&gt;
	&lt;li&gt;Keep everything under version control.&lt;/li&gt;
	&lt;li&gt;Don&amp;#8217;t worry about breaking things when upgrading (even if the static content generator changes, it shouldn&amp;#8217;t really break things).&lt;/li&gt;
	&lt;li&gt;Unleash the power of client-side scripting (namely, JQuery).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For now, I&amp;#8217;m just brainstorming a little bit on &lt;a href="http://github.com/h3rald/h3rald-website/issues"&gt;GitHub&lt;/a&gt;, feel free to participate. The first step is obviously choosing a static content generator, and atm Jekyll seems to be slightly ahead of Webby. Opinions?&lt;/p&gt;
&lt;h3&gt;Glyph&lt;/h3&gt;
&lt;p&gt;Did you ever want to write a short manual or a book, or even a long article? If so, chances are you gave LaTeX a shot and either fully embraced its philosophy or totally refused it. Sadly, I belong to the second category: I believe sequential documents like manuals or books should be easier to create simply by using &lt;span class="caps"&gt;HTML&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;Whever I have a chance to actually start working on it, Glyph will become a &lt;em&gt;document authoring framework&lt;/em&gt;, i.e. a way to create visually appealing documents in a simple way. All the ingredients are there, it&amp;#8217;s only necessary to glue them together in a pretty form:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Textile (and &lt;a href="http://redcloth.org/"&gt;RedCloth&lt;/a&gt;) to produce clean &lt;span class="caps"&gt;HTML&lt;/span&gt; code from a human-readable markup&lt;/li&gt;
	&lt;li&gt;CSS3 to specify page rules&lt;/li&gt;
	&lt;li&gt;A few rake scripts to produce a standalone &lt;span class="caps"&gt;HTML&lt;/span&gt; file, &lt;span class="caps"&gt;TOC&lt;/span&gt;, Index etc.&lt;/li&gt;
	&lt;li&gt;An internal &lt;span class="caps"&gt;DSL&lt;/span&gt; for the document structure and metadata&lt;/li&gt;
	&lt;li&gt;&lt;a href="http://www.liquidmarkup.org/"&gt;Liquid&lt;/a&gt; for control flow, snippets and filters&lt;/li&gt;
	&lt;li&gt;&lt;a href="http://www.princexml.com/"&gt;PrinceXML&lt;/a&gt; to generate a &lt;span class="caps"&gt;PDF&lt;/span&gt; from &lt;span class="caps"&gt;HTML&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This project is still in planning stage, feel free to have a look at the &lt;a href="http://github.com/h3rald/glyph/issues"&gt;issues/features page&lt;/a&gt; on GitHub. Feedback is appreciated, as usual.&lt;/p&gt;
&lt;h3&gt;Vim files &amp;amp; &lt;em&gt;the Stash&lt;/em&gt;&lt;/h3&gt;
&lt;p&gt;If you read the previous two sections of this post, you may have noticed that I&amp;#8217;m growing more and more fond of git (and GitHub). Besides the repositories I already mentioned earlier on, I also created a personal &lt;a href="http://github.com/h3rald/stash"&gt;stash&lt;/a&gt;, which I&amp;#8217;m using mainly to store some of my Linux dotfiles, article drafts and &amp;#8230;Vim customizations.&lt;/p&gt;
&lt;p&gt;If you&amp;#8217;re looking for a color scheme for Vim, check out my very own &lt;a href="/herald-vim-color-scheme"&gt;herald.vim&lt;/a&gt;, and tell me what you think.&lt;/p&gt;
&lt;h3&gt;Getting ready for the Big Step&lt;/h3&gt;
&lt;p&gt;This will probably be my last post as a free man, as I&amp;#8217;m getting married (civilly) on July 2nd and (religiously) on July 11th. &lt;br /&gt;
Luckily the photographer agreed to give us a CD with all the pictures taken on the big day, with no copyright restrictions attached to it (believe it or not, some photographers don&amp;#8217;t allow you to republish &lt;em&gt;your own&lt;/em&gt; photos unless you ask them first), so I&amp;#8217;ll probably write a long post with pictures when we come back from our (half) honeymoon.&lt;/p&gt;
&lt;p&gt;Everything is pretty much organized. We had troubles with the waistcoats we got from eBay: they were cut almost randomly to &lt;em&gt;resamble&lt;/em&gt; waistcoats, but they weren&amp;#8217;t so we had to re-order another lot of 7 sets (waistcoat, cravat &lt;em&gt;and&lt;/em&gt; shirt this time) from another seller, this time UK-based. I seriously hope to get them in time.&lt;/p&gt;
&lt;p&gt;On the 24th we&amp;#8217;re having a party at our house. If you were invited, feel free to drop by, otherwise be prepared to be thrown out of the window (4th floor) by one of our ushers (Roxanne&amp;#8217;s &lt;em&gt;big&lt;/em&gt; brother). It&amp;#8217;s probalby going to be about 30-40 people in the end, mainly because most of my office can&amp;#8217;t come due to holidays they booked in advance.&lt;/p&gt;
&lt;p&gt;What&amp;#8217;s left to do now? Well:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Send the bomboniere over to Ireland&lt;/li&gt;
	&lt;li&gt;Make sure my dad actually ships the 96 specially-bottled bottles of our own wine to uncle John, in Ireland.&lt;/li&gt;
	&lt;li&gt;Make sure uncle John doesn&amp;#8217;t drink all the 96 bottles of wine before the wedding reception.&lt;/li&gt;
	&lt;li&gt;Make sure my best man understood that the speech he has do make &lt;em&gt;must&lt;/em&gt; be in English, at least 3 minutes long and not too offensive to the groom.&lt;/li&gt;
	&lt;li&gt;Pay a huge, colossal heap of money for the whole thing. It&amp;#8217;s going to cost us (and my dad) quite a bit, in the end. But it&amp;#8217;s a once-in-a-lifetime experience, after all (getting totally trashed in a fancy hotel with all your family, including 2nd and 3rd grade cousins).&lt;/li&gt;
&lt;/ul&gt;</description>
      <pubDate>Mon, 29 Jun 2009 00:24:00 -0000</pubDate>
      <guid>http://www.h3rald.com/articles/log-jun-2009/</guid>
      <link>http://www.h3rald.com/articles/log-jun-2009/</link>
      <author>h3rald@h3rald.com</author>
      <comments>http://www.h3rald.com/articles/log-jun-2009/#comments</comments>
      <category>personal_log</category>
      <category>vim</category>
      <category>ruby</category>
      <category>wedding</category>
    </item>
    <item>
      <title>Herald (Vim Color Scheme)</title>
      <description>&lt;p&gt;I use &lt;a href="http://www.vim.org"&gt;Vim&lt;/a&gt; a lot. It&amp;#8217;s my editor of choice when I code (mainly in Ruby), and also when I write my blog post and articles (mainly in Textile).&lt;br /&gt;
One thing I always liked about Vim was it powerful syntax highlighting: there&amp;#8217;s probably a syntax highlighting file for every programming language ever created, even the new ones (&lt;a href="http://force7.de/nimrod/index.html"&gt;Nimrod&lt;/a&gt;? Sure, &lt;a href="http://www.vim.org/scripts/script.php?script_id=2632"&gt;here&lt;/a&gt;!).&lt;/p&gt;
&lt;p&gt;Furthermore, Vim allows you to create color schemes, and that&amp;#8217;s surprisingly easy to do. Everything you need to do is in the &lt;a href="http://vimdoc.sourceforge.net/htmldoc/syntax.html"&gt;docs&lt;/a&gt;, but that may put you off, so you can just start by editing an existing one &amp;#8212; that&amp;#8217;s what I did.h3. InfiniteRed Black&lt;/p&gt;
&lt;p&gt;I&amp;#8217;ve been using the &lt;a href="http://blog.infinitered.com/entries/show/8"&gt;ir_black&lt;/a&gt; color scheme for near enough a year. It&amp;#8217;s an excellent color scheme, recommended especially for writing Ruby code:&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/herald.vim/ir_black_vim_example.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;I honestly thought this was the best Vim color scheme until I discovered Moria&amp;#8230;&lt;/p&gt;
&lt;h3&gt;Moria&lt;/h3&gt;
&lt;p&gt;Recently I switched to &lt;a href="http://www.vim.org/scripts/script.php?script_id=1464"&gt;moria&lt;/a&gt;, mainly because I find it easier on the eyes. It&amp;#8217;s a matter of taste, of course:&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/herald.vim/moria_vim_example.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;The trick is in the background: it&amp;#8217;s not completely black. Still, I didn&amp;#8217;t quite like the colors, so I decided to write my own&amp;#8230;&lt;/p&gt;
&lt;h3&gt;Herald&lt;/h3&gt;
&lt;p&gt;Meet &lt;strong&gt; &lt;a href="/files/herald.vim"&gt;herald.vim&lt;/a&gt; &lt;/strong&gt; (this is a direct link to the raw file, but you may also want to check my &lt;a href="http://github.com/h3rald/stash/tree/master"&gt;stash&lt;/a&gt; on GitHub or the &lt;a href="http://www.vim.org/scripts/script.php?script_id=2684"&gt;script page&lt;/a&gt; on Vim.org):&lt;/p&gt;
&lt;p&gt;&lt;img src="/images/herald.vim/herald_vim_example.png" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;To sum up, here&amp;#8217;s the &lt;em&gt;features&lt;/em&gt; offered by this new color scheme:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;It&amp;#8217;s easier to differentiate syntax elements; in particular reserved words like &lt;code&gt;if&lt;/code&gt; or &lt;code&gt;end&lt;/code&gt;, constants (symbols) and identifiers (instance variables).&lt;/li&gt;
	&lt;li&gt;Operators are highlighted and easier to notice.&lt;/li&gt;
	&lt;li&gt;Dark gray background and black column/row selectors.&lt;/li&gt;
	&lt;li&gt;Added highlight for titles (useful for Textile)&lt;/li&gt;
	&lt;li&gt;Comments do not stand out, unlike in most color schemes&lt;/li&gt;
	&lt;li&gt;Support for 256 color terminal (special thanks to &lt;a href="http://www.frexx.de/xterm-256-notes/"&gt;Wolfgang Frisch&lt;/a&gt; for providing all the info and tools required)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So what do you think? Is it tool colorful perhaps? How would &lt;strong&gt;you&lt;/strong&gt; improve it?&lt;/p&gt;</description>
      <pubDate>Wed, 17 Jun 2009 04:11:00 -0000</pubDate>
      <guid>http://www.h3rald.com/articles/herald-vim-color-scheme/</guid>
      <link>http://www.h3rald.com/articles/herald-vim-color-scheme/</link>
      <author>h3rald@h3rald.com</author>
      <comments>http://www.h3rald.com/articles/herald-vim-color-scheme/#comments</comments>
      <category>programming</category>
      <category>vim</category>
    </item>
  </channel>
</rss>
