<?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>editor | /var/logs/paulooi.log</title>
	<atom:link href="https://logs.paulooi.com/tag/editor/feed" rel="self" type="application/rss+xml" />
	<link>https://logs.paulooi.com</link>
	<description>Systems Admin, Web Development and etc</description>
	<lastBuildDate>Thu, 16 Jul 2015 13:58:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Sublime Text Editor &#8211; Package Control</title>
		<link>https://logs.paulooi.com/sublime-text-editor-package-control.php</link>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Thu, 16 Jul 2015 13:56:20 +0000</pubDate>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[sublime text]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1745</guid>

					<description><![CDATA[<p>Today I found an interesting package to install on Sublime Text, may be I did not pay much attention on the sublime text tutorial online, but this seems to be one of the &#8220;must install&#8221; package on Sublime Text; which...</p>
The post <a href="https://logs.paulooi.com/sublime-text-editor-package-control.php">Sublime Text Editor – Package Control</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>Today I found an interesting package to install on Sublime Text, may be I did not pay much attention on the sublime text tutorial online, but this seems to be one of the &#8220;must install&#8221; package on Sublime Text; which is &#8220;<a href="https://packagecontrol.io/installation" target="_blank">Package Control</a>&#8221;</p>
<p>I am still using Sublime Text 2, Sublime Text 3 still in Beta version. To install Package Control;</p>
<p>1. Go to Sublime Text&#8217;s console. View -&gt; Show Console</p>
<p><a href="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-show-console.png"><img fetchpriority="high" decoding="async" class="aligncenter size-medium wp-image-1746" src="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-show-console-300x237.png" alt="sublime-text-show-console" width="300" height="237" srcset="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-show-console-300x237.png 300w, https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-show-console-1024x808.png 1024w, https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-show-console.png 1240w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>2. Paste the line into the console as shown on &#8220;<a href="https://packagecontrol.io/installation" target="_blank">Package Control</a>&#8221; website. in my case it pasting this;</p>
<pre>
import urllib2,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation') 
</pre>
<p>It will looks like below and hit enter. </p>
<p><a href="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control.png"><img decoding="async" src="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-300x31.png" alt="sublime-text-package-control" width="300" height="31" class="aligncenter size-medium wp-image-1747" srcset="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-300x31.png 300w, https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-1024x105.png 1024w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>After the installation has been done, try to install a package name BeautifyRuby.</p>
<p>1. Launch Package Control: Install Package by &#8220;AppleCommand + Shift + P&#8221; or in Windows &#8220;Ctrl + Shift + p&#8221;</p>
<p><a href="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-install.png"><img decoding="async" src="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-install-300x166.png" alt="sublime-text-package-control-install" width="300" height="166" class="aligncenter size-medium wp-image-1749" srcset="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-install-300x166.png 300w, https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-install-1024x566.png 1024w, https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-install.png 1046w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>2. Search for BeautifyRuby and hit enter to install </p>
<p><a href="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-beautify-ruby.png"><img loading="lazy" decoding="async" src="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-beautify-ruby-300x157.png" alt="sublime-text-package-control-beautify-ruby" width="300" height="157" class="aligncenter size-medium wp-image-1748" srcset="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-beautify-ruby-300x157.png 300w, https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-beautify-ruby-1024x536.png 1024w, https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-beautify-ruby.png 1032w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p>3. You may notice the status bar showing the installation status on the package. </p>
<p><a href="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-installation.png"><img loading="lazy" decoding="async" src="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-installation-300x91.png" alt="sublime-text-package-control-installation" width="300" height="91" class="aligncenter size-medium wp-image-1750" srcset="https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-installation-300x91.png 300w, https://logs.paulooi.com/wp-content/uploads/2015/07/sublime-text-package-control-installation.png 672w" sizes="auto, (max-width: 300px) 100vw, 300px" /></a></p>
<p>I am going to explore packages offer by Package Control in Sublime Text <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /> </p>The post <a href="https://logs.paulooi.com/sublime-text-editor-package-control.php">Sublime Text Editor – Package Control</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Set VI or VIM Tab Space</title>
		<link>https://logs.paulooi.com/how-to-set-vi-or-vim-tab-space.php</link>
					<comments>https://logs.paulooi.com/how-to-set-vi-or-vim-tab-space.php#respond</comments>
		
		<dc:creator><![CDATA[Paul Ooi]]></dc:creator>
		<pubDate>Sun, 23 Jan 2011 15:00:30 +0000</pubDate>
				<category><![CDATA[Systems]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[indent space]]></category>
		<category><![CDATA[space]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[vimrc]]></category>
		<guid isPermaLink="false">http://systems.takizo.com/?p=1131</guid>

					<description><![CDATA[<p>By default, vi or vim editor tab space is 8 spaces. You can configure preferred space by the value below in .vimrc file set tabstop=2 set shiftwidth=2</p>
The post <a href="https://logs.paulooi.com/how-to-set-vi-or-vim-tab-space.php">How to Set VI or VIM Tab Space</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></description>
										<content:encoded><![CDATA[<p>By default, vi or vim editor tab space is 8 spaces. You can configure preferred space by the value below in .vimrc file</p>
<pre>
<code>
set tabstop=2
set shiftwidth=2
</code>
</pre>The post <a href="https://logs.paulooi.com/how-to-set-vi-or-vim-tab-space.php">How to Set VI or VIM Tab Space</a> first appeared on <a href="https://logs.paulooi.com">/var/logs/paulooi.log</a>.]]></content:encoded>
					
					<wfw:commentRss>https://logs.paulooi.com/how-to-set-vi-or-vim-tab-space.php/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
