<?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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>jadecell.org:~$ ./blogStart.sh &#187; jsVim</title>
	<atom:link href="http://blog.jadecell.org/wp/category/projects/jsvim/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jadecell.org/wp</link>
	<description>Experiences in *nix &#038; Tech</description>
	<lastBuildDate>Wed, 19 May 2010 00:01:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<!-- podcast_generator="podPress/8.8" - maintenance_release="8.8.4" -->
		<copyright>Copyright &#xA9; 2010 jadecell.org:~$ ./blogStart.sh </copyright>
		<managingEditor>admin@blog.jadecell.org ()</managingEditor>
		<webMaster>admin@blog.jadecell.org ()</webMaster>
		<category>posts</category>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>Experiences in *nix  Tech</itunes:summary>
		<itunes:author></itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name></itunes:name>
			<itunes:email>admin@blog.jadecell.org</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://blog.jadecell.org/wp/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://blog.jadecell.org/wp/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>jadecell.org:~$ ./blogStart.sh</title>
			<link>http://blog.jadecell.org/wp</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>jsVim &#8211; Vi control for your browser!</title>
		<link>http://blog.jadecell.org/wp/2008/07/11/jsvim-vi-control-for-your-browser/</link>
		<comments>http://blog.jadecell.org/wp/2008/07/11/jsvim-vi-control-for-your-browser/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 16:47:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[jsVim]]></category>

		<guid isPermaLink="false">http://blog.jadecell.org/wp/?p=58</guid>
		<description><![CDATA[If you like keyboard shortcuts, or you know how to use Vi to control navigation of a page, then you&#8217;re going to love this! (this is not to be confused by jsvi which allows vi control for a textarea in your browser)
I used to use a Firefox extension called Vimperator that basically allowed me to [...]]]></description>
			<content:encoded><![CDATA[<p>If you like keyboard shortcuts, or you know how to use Vi to control navigation of a page, then you&#8217;re going to love this! (this is not to be confused by <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2dwbC5pbnRlcm5ldGNvbm5lY3Rpb24ubmV0L3ZpLw==">jsvi</a> which allows vi control for a textarea in your browser)</p>
<p>I used to use a Firefox extension called <a href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3ZpbXBlcmF0b3IubW96ZGV2Lm9yZy8=" target=\"_blank\">Vimperator</a> that basically allowed me to control and navigate through websites using the keyboard with Vim like commands. It was a good tool, actually a great tool, but I got frustrated when I didn&#8217;t have this same functionality on Safari, or any Fluid apps (making web apps into a distinct desktop application).</p>
<p>I had planned initially on making jsVim work with websites I developed, but then I realized not too many people would be happy with Vim control on those pages, unless I had a unique activation key event that enabled the rest of the key commands. But anyway, I digress. So it occured to me that making it cross browser specific would be ideal, and the use of Grease[<a title=\"Greasemonkey for Firefox\" href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cHM6Ly9hZGRvbnMubW96aWxsYS5vcmcvZW4tVVMvZmlyZWZveC9hZGRvbi83NDg=" target=\"_blank\">monkey</a>,<a title=\"Greasekit for Safari\" href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovLzgtcC5pbmZvL2dyZWFzZWtpdC8=" target=\"_blank\">kit</a>] would allow me to do that.</p>
<p>So long story short, I developed jsVim in javascript form and then created an accompanying Grease[monkey,kit] script to utilize jsVim. There&#8217;s still much work to be done (incorporating keyboard events for links/hrefs/onlicks, search/find, colon[:] console commands, etc), but I think what is available is a pretty good start to get this out into the wild.</p>
<p>You can use svn to check out the code, or you can just install the greasemonkey script and get to work using it right away (if you have grease[monkey,kit] already installed).</p>
<p><a title=\"Greasemonkey Script\" href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3N2bi5qYWRlY2VsbC5vcmcvanN2aW0vanN2aW0udXNlci5qcw==" target=\"_blank\">Greasemonkey script</a></p>
<p>SVN<br />
<code>svn co http://svn.jadecell.org/jsvim/</code></p>
<p>Here are some useful commands that should get you started working around in your browser:</p>
<ul>
<li>&#8216;j&#8217; &#8211; scroll down on the page (like using the down arrow)</li>
<li>&#8216;k&#8217; &#8211; scroll up on the page (like using the up arrow)</li>
<li>&#8216;Shift+j&#8217; &#8211; scroll down a full page (like using the Page Down button)</li>
<li>&#8216;Shift+k&#8217; &#8211; scroll up a full page (like using the Page Up button)</li>
<li>&#8216;h&#8217; &#8211; scroll left on the page (like using the left arrow)</li>
<li>&#8216;l&#8217; &#8211; scoll right on the page (like using the right arrow)</li>
<li>&#8216;Shift+h&#8217; &#8211; Go Back in history (like the browser back button)</li>
<li>&#8216;Shift+l&#8217; &#8211; Go Forward in history (like the browser forward button)</li>
<li>&#8216;Shift+g&#8217; &#8211; goto the bottom of the page</li>
<li>&#8216;gg&#8217; or &#8216;U&#8217; &#8211; goto the top of the page</li>
<li>&#8216;Alt+Shift+?&#8217; &#8211; disable jsVim keyboard shortcuts</li>
<li>&#8216;Esc&#8217; &#8211; re-enable keyboard shortcuts, remove cursor in a form field from view, remove bottom console window</li>
</ul>
<p>The next big TODO, is to get link navigation working and a full out help menu when you press the &#8216;?&#8217; in the window.</p>
<p>Any other ideas and comments are always welcome.</p>
<p>===================</p>
<p>UPDATE:<br />
This script will not work with Firefox&#8217;s quick search. Be sure to uncheck &#8220;Search for text when I start typing&#8221; in the Preferences &gt;&gt; Advanced &gt;&gt; General settings. I&#8217;m sure there is a workaround for this, but in the meantime, to get quicksearch up is to type &#8216;/&#8217;, i&#8217;ll have my quicksearch disabled until I can get this to work well.</p>
<p><map name='google_ad_map_58_03357ac322143b8f'>
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL2ltYWdlYWRzLmdvb2dsZWFkc2VydmljZXMuY29tL3BhZ2VhZC9pbWdjbGljay81OD9wb3M9MA==" coords='1,2,367,28' />
<area shape='rect' href="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?url=aHR0cDovL3NlcnZpY2VzLmdvb2dsZS5jb20vZmVlZGJhY2svYWJn" coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_58_03357ac322143b8f' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=58&amp;url= http%3A%2F%2Fblog.jadecell.org%2Fwp%2F2008%2F07%2F11%2Fjsvim-vi-control-for-your-browser%2F' /></p> <img src="http://blog.jadecell.org/wp/wp-content/plugins/feed-statistics.php?view=1&post_id=58" width="1" height="1" style="display: none;" /><hr />
<p><small>&copy; admin for <a href="http://blog.jadecell.org/wp">jadecell.org:~$ ./blogStart.sh</a>, 2008. |
<a href="http://blog.jadecell.org/wp/2008/07/11/jsvim-vi-control-for-your-browser/">Permalink</a> |
<a href="http://blog.jadecell.org/wp/2008/07/11/jsvim-vi-control-for-your-browser/#comments">One comment</a> |
Add to
<a href="http://del.icio.us/post?url=http://blog.jadecell.org/wp/2008/07/11/jsvim-vi-control-for-your-browser/&amp;title=jsVim &#8211; Vi control for your browser!">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>
<p><small>Feed enhanced by <a href='http://planetozh.com/blog/my-projects/wordpress-plugin-better-feed-rss/'>Better Feed</a> from  <a href='http://planetozh.com/blog/'>Ozh</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jadecell.org/wp/2008/07/11/jsvim-vi-control-for-your-browser/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
