<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nano on Wimpy's World</title><link>https://blog.wimpys.world/tags/nano/</link><description>Recent content in Nano on Wimpy's World</description><generator>Hugo -- gohugo.io</generator><language>en-gb</language><managingEditor>martin@wimpress.com (Martin Wimpress)</managingEditor><webMaster>martin@wimpress.com (Martin Wimpress)</webMaster><lastBuildDate>Tue, 22 Jan 2013 15:25:47 +0000</lastBuildDate><atom:link href="https://blog.wimpys.world/tags/nano/rss.xml" rel="self" type="application/rss+xml"/><item><title>The nano text editor</title><link>https://blog.wimpys.world/posts/the-nano-text-editor/</link><pubDate>Tue, 22 Jan 2013 15:25:47 +0000</pubDate><author>martin@wimpress.com (Martin Wimpress)</author><guid>https://wimpysworld.com/posts/the-nano-text-editor/</guid><description>&lt;p&gt;I use the &lt;a href="http://www.nano-editor.org/"&gt;nano&lt;/a&gt; text editor in preference to
&lt;a href="http://www.vim.org/"&gt;vim&lt;/a&gt; and have done for years. This is because we used
&lt;a href="https://en.wikipedia.org/wiki/Pine_(email_client)"&gt;Pine&lt;/a&gt; for email at
university and my first job, the Pico text editor was used to compose mail
messages. Due to the binary only distribution of &lt;code&gt;pico&lt;/code&gt;, &lt;code&gt;nano&lt;/code&gt; was created as
an free software alternative. And that is why I use &lt;code&gt;nano&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Since I &lt;a href="https://blog.wimpys.world/posts/migrating-wordpress-to-nikola/"&gt;migrated my blog to Nikola&lt;/a&gt;
I&amp;rsquo;m using &lt;code&gt;nano&lt;/code&gt; more frequently as I typically write my blog posts on a remote
shell, so I thought I&amp;rsquo;d spend some time to tweak &lt;code&gt;nano&lt;/code&gt; a little.&lt;/p&gt;
&lt;h2 id="keybindings"&gt;Keybindings&lt;/h2&gt;
&lt;p&gt;I refreshed my memory of some of the keyboard shortcuts available in &lt;code&gt;nano&lt;/code&gt; to
be a little more efficient.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://mintaka.sdsu.edu/reu/nano.html"&gt;http://mintaka.sdsu.edu/reu/nano.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.tuxradar.com/content/text-editing-nano-made-easy"&gt;http://www.tuxradar.com/content/text-editing-nano-made-easy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.cheatography.com/davechild/content/nano-shortcuts/"&gt;http://www.cheatography.com/davechild/content/nano-shortcuts/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="syntax-highlighting"&gt;Syntax Highlighting&lt;/h2&gt;
&lt;p&gt;Syntax Highlighting is the killer feature for &lt;code&gt;nano&lt;/code&gt; that I&amp;rsquo;ve never bothered to
configured in the past. I based my configuration one those provided by
&lt;a href="https://github.com/craigbarnes"&gt;Craig Barnes&lt;/a&gt;. He uses mixins to ensure a
consistent colour theme for all the language highlighters. I don&amp;rsquo;t use his
custom key bindings however, it gets confusing when connecting to different
hosts that have a default &lt;code&gt;nano&lt;/code&gt; configuration.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/craigbarnes/nanorc"&gt;https://github.com/craigbarnes/nanorc&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description><summary>Some quality of life improvements for nano text editor</summary></item></channel></rss>