Vim Tips

vim mappings – easy way to do things.

2014/01/22

You can use vim mappings to make some of your editor tasks very simple. Here I am giving you just a example, but you could always let your imagination run wild. :nmap ,b Oj0c$**hP And what do we do …

vim – yank/xopy in different register to paste

2014/01/16

Very quick update, to use registers, you can select and then yank in a register to paste using the same register. This could be a convinient way to copy multiple selections and then paste which ever …

Check all vim colorschemes for minor issues

2013/10/10

Here is script that checks all the colorschemes in the current directory and corrects them if possible (Processing of the file is done with simple commands like sed, grep) Checks that the color_name …

vim maps – simple commands to do stuff.

2013/08/28

Some time back, I was working on some script for logging and I wanted to change the class to function like this: $logger->Debug("Test string"); loggerFunc("Debug", "Test String"); As you can see, …

Vim – Why and where am I getting these errors from?

2013/05/15

If you have got this question in your mind, then you are in right place. vim -V20 2>&1 |tee You can give the debugfile as any file, where you would want to log the debug messages. This will log a …

vim mappings for multiple files.

2012/08/06

If you open multiple files in vim with command line option. Then the only way to move between the files is “:n” and “:N”. There is a easier way to do this. Just add mappings for this in vimrc. Here is …

Get yourself som new themes for vim

2012/02/15

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 …

g flag in :s useless in vim

2011/11/05

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. …

debug call function() to debug a function in vim

2011/09/04

Image via Wikipedia […] Have you ever wished that you could either see what is going on initially at the vim startup like you could do with C program in the gdm mode, but really did not want …

vim autocomplete – automagically without tab.

2011/04/16

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 …

what is vim in 6Kb..

2011/03/16

If you thought that vim is very bloated and nothing abuot this editor can be small, then you are not alone. I was myself in the same bandwagon. Well, I never thought that there could be anything about …

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

2011/03/09

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 …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it