stop indentation on current file in vim to keep the indentation from copied text.

2009-10-22 1 min read Linux Vim Tips

I have been looking for this for quite some time. Finally found two easy ways to do it:

:setlocal noautoindent
:setlocal nocindent
:setlocal nosmartindent
:setlocal indentexpr=

Just use the above four commands when the file is already open to stop all the indentation/smart indentation/auto indentation in vim for the current file. If you want to map it then you can use shorthand notations and map it in the .vimrc file.

Continue reading

Happy Diwali Wishes

2009-10-18 1 min read Uncategorized

Wish all my readers, Happy Diwali.

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/dscf7252.resized.jpg"><img class="size-full wp-image-1329" title="Diwali" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/dscf7252.resized.jpg" alt="Diwali" width="1038" height="782" />

RPMFusion release for YUM.

2009-10-17 1 min read Fedora

For people who have used yum on Fedora, you must have seen that couple of packages that you require are on Livna and couple of them on DAG and some others on FreshRPMs and Dribble. And for those of you, who have tried to install the packages from all these repositories, I know it is difficult. The repo&#8217;s never worked too well together.

So finallly there is a nice solution to all these problems, <a href="http://rpmfusion.org/" target="_blank">RPMFusion is the solution. This is a effort to merge the repo in all the four above mentioned repo. just now installed the repo and am updating my system and definately hope to get a lot lesser problems now. 🙂

Continue reading

10 Websites to Compare Google vs Bing Results Side By Side

2009-10-17 5 min read Uncategorized

10 Websites to Compare Google vs Bing Results Side By Side Thankfully, the web doesn’t make us take sides. We can have the best of every world. With the launch of Bing, we had another search engine to crawl the web with. A few months and millions of searches down the line, Bing has also built up its legion of users (and fans). It’s Google vs Bing now. The former is still The search engine while the latter calls itself a decision engine.

Continue reading

Twitter is overcapacity.

2009-10-15 1 min read Uncategorized

Just now got this on twitter. Nice image to display when overcapacity.

<a href="http://blog.amit-agarwal.co.in/wp-content/uploads/2009/10/Over_capacity_1255572830327.jpg"><img class="size-thumbnail wp-image-1326" title="Over_capacity" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/Over_capacity_1255572830327-150x150.jpg" alt="Over_capacity" width="150" height="150" />

Older posts Newer posts