Get yourself som new themes for vim

2012-02-15 1 min read Vim Tips
Well, you would already have some themes for your vim, by default. And if you did not like them then you would have added some of your own too (downloaded from vim.org). But, those are something, that you might not still like and want to make some changes. Here’s, a new way to do it. Just go to the link mentioned below and click on Generate Dark or Generate Light. You can generate as many as you like and once you like the theme, simply click on vim in the bottom and download 🙂 BTW, you can generate textmate and Emacs theme as well. Continue reading

g flag in :s useless in vim

2011-11-05 1 min read Vim Tips
Some time back there was a post on vim_use list about the “/g” flag for the search and replace functionality of the vim. And the response of “Tim Chase” on the same was very elaborate and interesting. I always knew that “/g” is only for replacing multiple occurrences on the same line, but here are few things that I did not know. :0/this/s//that This one will only replace the first occurrence of this in the whole file. Continue reading

vim autocomplete – automagically without tab.

2011-04-16 1 min read Learning Linux Vim Tips
Lets first do the setup in one line. Get my vim script downloader. Use the script to add the script with script ID : :1879 (vim-autocomplpop) to your list of plugins for vim and you are done. If you are using snipmate, then make sure that you read the description of the plugin to add the required lines to the vimrc file to get the full functionality. You would love to type henceforth in your favourite editor. Continue reading

All in one solution for all the scripts of vim from vim.org

2011-03-09 9 min read bash Fedora Learning Linux Vim Tips
For quite sometime now, I was looking for some console based program which would help me get the scripts from vim.org. A simple solution would have been to do a wget for the scripts. But since there are so many scripts coming up daily and with a need to search based on script ID and name of the script, I thought better to write a script that can do all of those things. Continue reading

[Solved] Abbreviations not working in vim

2010-10-02 1 min read bash Learning Vim Tips
Today I found that abbreviations are not working in vim in my current login. I searched log of blog’s and sill did not find any solution so I decided to take the matters in my hand. To start with I disabled all the plugin’s by moving my plugin directory. This did not help me solve the issue, so the only other option left was to now disable the vimrc file completely. Continue reading