<?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>TechniTip.Net &#187; search</title>
	<atom:link href="http://technitip.net/tag/search/feed" rel="self" type="application/rss+xml" />
	<link>http://technitip.net</link>
	<description>TechniTip.Net - Useful tips regarding technical stuff for things like Linux, MySQL, Apache, PHP, Linux Server, iPhone and more.</description>
	<lastBuildDate>Fri, 03 Feb 2012 18:31:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image>
<link>http://technitip.net</link>
<url>http://technitip.net/wp-content/plugins/maxblogpress-favicon/icons/favicon-66.ico</url>
<title>TechniTip.Net</title>
</image>
		<item>
		<title>Make VIM Nice Looking</title>
		<link>http://technitip.net/make-vim-nice-looking</link>
		<comments>http://technitip.net/make-vim-nice-looking#comments</comments>
		<pubDate>Tue, 10 Feb 2009 19:20:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[highlightning]]></category>
		<category><![CDATA[indent]]></category>
		<category><![CDATA[looking]]></category>
		<category><![CDATA[nice]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[syntax]]></category>
		<category><![CDATA[tab]]></category>
		<category><![CDATA[tabstop]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[vimrc]]></category>

		<guid isPermaLink="false">http://technitip.net/?p=563</guid>
		<description><![CDATA[Linux users usually know the text editor called &#8220;vi&#8221;. For beginners it&#8217;s tough to use and the look and feel is not very nice. &#8220;vim&#8221; which means vi-improved brings many improvements. To make vim more nice looking I&#8217;ve put my settings for your .vimrc together. I personally like the following settings: Syntax highlighting Different color [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p>Linux users usually know the text editor called &#8220;vi&#8221;. For beginners it&#8217;s tough to use and the look and feel is not very nice. &#8220;vim&#8221; which means vi-improved brings many improvements. To make vim more nice looking I&#8217;ve put my settings for your .vimrc together. I personally like the following settings:</p>
<ul>
<li>Syntax highlighting</li>
<li>Different color scheme</li>
<li>Disable indenting when copy and pasting a text from clip board</li>
<li>Replace tabs with blanks</li>
<li>Use 2 spaces as tabs instead of 4 spaces</li>
<li>Improve the search</li>
<li>Display cursor position</li>
</ul>
<p>Open the .vimrc in your home directory and add the following settings:</p>
<pre>" enable syntax highlightning
syntax enable

" set a different color scheme
colorscheme desert

" avoid identing when pasting a text
set paste

" enable auto indent
set autoindent

" expand tabs to spaces
set expandtab

" set the tab stop to 2 spaces and soft tab stop to 2 spaces
set tabstop=2 sts=2
set shiftwidth=2

" immediately search and display the typed search pattern
set incsearch

" highlighting of search matches
set hlsearch

" show cursor position
set ruler</pre>
<p style="text-align: left;">Much better now! Try the search (e.g. ESC /high) and you will recognize that the search pattern will be immediately highlighted when you enter it.</p>
<p style="text-align: left;">Note: If you want to replace all tabs within an existing file you can now use the vi command &#8220;:retab&#8221; and all tabs will be removed according the settings done in your .vimrc.</p>
<p style="text-align: left;">And finally the result:</p>
<p style="text-align: left;">
<a href="http://technitip.net/wp-content/gallery/test/planlosorg-putty-10022009-192707.jpg" title="" class="shutterset_singlepic22" >
	<img class="ngg-singlepic ngg-center" src="http://technitip.net/wp-content/gallery/cache/22__600x_planlosorg-putty-10022009-192707.jpg" alt="planlosorg-putty-10022009-192707.jpg" title="planlosorg-putty-10022009-192707.jpg" />
</a>
</p>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftechnitip.net%2Fmake-vim-nice-looking&amp;layout=standard&amp;show_faces=true&amp;width=500&amp;action=like&amp;font=segoe+ui&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:80px;" allowTransparency="true"></iframe></div><p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://technitip.net/make-vim-nice-looking/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search and Replace over Multiple Files</title>
		<link>http://technitip.net/search-and-replace-over-multiple-files</link>
		<comments>http://technitip.net/search-and-replace-over-multiple-files#comments</comments>
		<pubDate>Tue, 30 Dec 2008 13:04:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[replace]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://planlos.org/~harry/php/?p=84</guid>
		<description><![CDATA[Sometimes you need to search and replace strings over multiple files. This can easily be done using perl. I found this tip from www.liamdelahunty.com/tips perl -pi -w -e 's/search/replace/g;' *.php -e means execute the following line of code. -i means edit in-place -w write warnings -p loop Related posts: Make VIM Nice Looking How do [...]<div style="clear: both;">
<strong>Related posts:</strong><ol>
<li><a href='http://technitip.net/make-vim-nice-looking' rel='bookmark' title='Make VIM Nice Looking'>Make VIM Nice Looking</a></li>
<li><a href='http://technitip.net/how-do-you-protect-your-blog-from-hackers' rel='bookmark' title='How do you protect your Blog from Hackers?'>How do you protect your Blog from Hackers?</a></li>
</ol></div>]]></description>
			<content:encoded><![CDATA[<p>Sometimes you need to search and replace strings over multiple files. This can easily be done using perl. I found this tip from <a title="Search and replace over multiple files" href="http://www.liamdelahunty.com/tips/" target="_blank">www.liamdelahunty.com/tips</a></p>
<pre>perl -pi -w -e 's/search/replace/g;' *.php

-e means execute the following line of code.
-i means edit in-place
-w write warnings
-p loop</pre>
<div id="facebook_like"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftechnitip.net%2Fsearch-and-replace-over-multiple-files&amp;layout=standard&amp;show_faces=true&amp;width=500&amp;action=like&amp;font=segoe+ui&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:80px;" allowTransparency="true"></iframe></div><div style="clear: both;"><p><strong>Related posts:</strong><ol>
<li><a href='http://technitip.net/make-vim-nice-looking' rel='bookmark' title='Make VIM Nice Looking'>Make VIM Nice Looking</a></li>
<li><a href='http://technitip.net/how-do-you-protect-your-blog-from-hackers' rel='bookmark' title='How do you protect your Blog from Hackers?'>How do you protect your Blog from Hackers?</a></li>
</ol></p></div>]]></content:encoded>
			<wfw:commentRss>http://technitip.net/search-and-replace-over-multiple-files/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

