<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>heureux heure* &#187; Vimperator</title>
	<atom:link href="http://heureux.jp/blog/tag/vimperator/feed" rel="self" type="application/rss+xml" />
	<link>http://heureux.jp/blog</link>
	<description>思いついたことを 思いついたときに 思いついたように</description>
	<lastBuildDate>Fri, 03 Sep 2010 23:10:20 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://heureux.jp/blog/tag/vimperator/feed" />
		<item>
		<title>Vimperator nightly に追従</title>
		<link>http://heureux.jp/blog/2009/11/02/33.html</link>
		<comments>http://heureux.jp/blog/2009/11/02/33.html#comments</comments>
		<pubDate>Sun, 01 Nov 2009 15:00:05 +0000</pubDate>
		<dc:creator>Heureux</dc:creator>
				<category><![CDATA[記事]]></category>
		<category><![CDATA[Vimperator]]></category>

		<guid isPermaLink="false">http://heureux.jp/blog/?p=33</guid>
		<description><![CDATA[hg pull -u
で最新版に更新したら plugin_loader.js と css 読み込みのコードがエラーを吐き出した。
ということでちょこっと修正
--- plugin_loader.js	(リビジョン 358 [...]]]></description>
			<content:encoded><![CDATA[<pre><code>hg pull -u</code></pre>
<p>で最新版に更新したら plugin_loader.js と css 読み込みのコードがエラーを吐き出した。<br />
ということでちょこっと修正</p>
<pre><code>--- plugin_loader.js	(リビジョン 35817)
+++ plugin_loader.js	(作業コピー)
@@ -80,9 +80,9 @@
   liberator.log('plugin_loader: loading');

   roots.forEach(function (root) {
-    let dir = io.getFile(root);
+    let dir = io.File(root);
     if (dir.exists() &#038;&#038; dir.isDirectory() &#038;&#038; dir.isReadable()) {
-      let files = io.readDirectory(dir, true);
+      let files = dir.readDirectory(true);
       files.forEach(function (file) {
         if (filter.test(file.path)) {
           liberator.log("Sourcing: " + file.path);</code></pre>
<p>css 読み込みの方はこれだけのコードでOK.<br />
だけど、なんか別の方法にした方がいいのかなぁ</p>
<pre><code>(function(){
  var colorDir = io.getRuntimeDirectories("colors")[0];
  colorDir.readDirectory(true).forEach(function(file){
    if (/\.css$/i.test(file.path)) io.source(file.path, false);
  });
})();</code></pre>
<!-- PHP 5.x -->
	Tags: <a href="http://heureux.jp/blog/tag/vimperator" title="Vimperator" rel="tag">Vimperator</a><br />
]]></content:encoded>
			<wfw:commentRss>http://heureux.jp/blog/2009/11/02/33.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://heureux.jp/blog/2009/11/02/33.html" />
	</item>
		<item>
		<title>Vimperator でコマンドラインの IME が制御できなかった</title>
		<link>http://heureux.jp/blog/2009/10/14/29.html</link>
		<comments>http://heureux.jp/blog/2009/10/14/29.html#comments</comments>
		<pubDate>Wed, 14 Oct 2009 13:10:57 +0000</pubDate>
		<dc:creator>Heureux</dc:creator>
				<category><![CDATA[記事]]></category>
		<category><![CDATA[Vimperator]]></category>

		<guid isPermaLink="false">http://heureux.jp/blog/?p=29</guid>
		<description><![CDATA[コマンドラインに入るときは常に IME がオフであって欲しかったので
sty -name commandline-ime chrome://* #liberator-commandline-command input { [...]]]></description>
			<content:encoded><![CDATA[<p>コマンドラインに入るときは常に IME がオフであって欲しかったので</p>
<pre><code>sty -name commandline-ime chrome://* #liberator-commandline-command input {ime-mode: inactive !important;}</code></pre>
<p>としていた。 !important がいるかどうかはともかくとして、Snow Leopard にしてから効かないなぁって思ってた。</p>
<p>そしたら入力ソースを「書類ごとに異なるものを使用」にしているとどうしてもダメらしいことが判明。<br />
「すべての書類で同じものを使用」とすれば切り替わるようになった。</p>
<p>10.5 の時にこれで慣れていたのでまっいっかーって事でこのまま使うことに。</p>
<!-- PHP 5.x -->
	Tags: <a href="http://heureux.jp/blog/tag/vimperator" title="Vimperator" rel="tag">Vimperator</a><br />
]]></content:encoded>
			<wfw:commentRss>http://heureux.jp/blog/2009/10/14/29.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://heureux.jp/blog/2009/10/14/29.html" />
	</item>
		<item>
		<title>Vimperator でタブを閉じたときに左のタブにフォーカス</title>
		<link>http://heureux.jp/blog/2009/10/14/28.html</link>
		<comments>http://heureux.jp/blog/2009/10/14/28.html#comments</comments>
		<pubDate>Wed, 14 Oct 2009 07:22:27 +0000</pubDate>
		<dc:creator>Heureux</dc:creator>
				<category><![CDATA[記事]]></category>
		<category><![CDATA[Vimperator]]></category>

		<guid isPermaLink="false">http://heureux.jp/blog/2009/10/14/28.html</guid>
		<description><![CDATA[後から気づいて大間抜けだって気づいてしまった
mappings.addUserMap(
    [modes.NORMAL], ['d'], '',
    function(){
        tabs.remove [...]]]></description>
			<content:encoded><![CDATA[<p>後から気づいて大間抜けだって気づいてしまった</p>
<pre><code>mappings.addUserMap(
    [modes.NORMAL], ['d'], '',
    function(){
        tabs.remove(getBrowser().mCurrentTab, 1, true, 1);
},{});</code></pre>
<p>って書けばいいんだけど、そうじゃなくて・・・。</p>
<p>実は d と D のマップを入れ替えればいいだけだった。<br />
いや、それだけです。</p>
<p><del datetime="2009-10-14T10:11:19+00:00">あ、でもどうすればいいのか分からない。</del></p>
<pre><code>mappings.addUserMap(
    [modes.NORMAL], ['D'], '',
    function(){
        tabs.remove(getBrowser().mCurrentTab, 1, false, 1);
},{});</code></pre>
<p>上のコードでもいいけど</p>
<p>結局こうした・・・。</p>
<pre><code>noremap d D
noremap D d</code></pre>
<!-- PHP 5.x -->
	Tags: <a href="http://heureux.jp/blog/tag/vimperator" title="Vimperator" rel="tag">Vimperator</a><br />
]]></content:encoded>
			<wfw:commentRss>http://heureux.jp/blog/2009/10/14/28.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://heureux.jp/blog/2009/10/14/28.html" />
	</item>
	</channel>
</rss>
