Posts Tagged ‘vim’

I needed a way in vim config to use counters and what better way, but to write a function to simultaneously handle all variables and optinally increase or decrease them:

Usage of the function is as follows:

märts 24th, 2011 | Filed under Programming
Tags: ,

I was annoyed that Vim moved all comments to the beginning of the line the moment I entered # sign. Searching around first turned me to smartindent, but I found that was already off. Then this vimtip shed the light on the monster: just add to your .vimrc:

And you are good to […]

apr. 30th, 2010 | Filed under Rest of the World