Srini's Point of View

My thoughts on technology, food and other fancies…

Installing homebrew MacVim with YouCompleteMe on Yosemite

I was pulling my hair to get my vim setup with YouCompleteMe on my macbook after I upgraded to Yosemite. On Mavericks it was pretty straight forward. The following used to work -

# install xcode and command line tools  
$ xcode-select --install  
# install homebrew  
$ ruby -e "$(curl -fsSL …

Run a macro in all buffers in vim

I knew vim was powerful, but realized recently that with combined command line tools it is really really powerful!!

Our Oracle production database was having issues at work. As a way to find out the cause, our group was asked to switch our jboss instance to point to a different …

replay a vim macro until end of buffer

This is an awesome trick I learnt recently. It’s a great trick if you don’t know how many times you need to run your macro. In short it is called a recursive macro :)

The gist is, you first make sure the register you are going to record your …