Dhruva Sagar

My perspective on Tech & Software Craftsmanship


VIM for Multiple Projects in separate Tmux windows

My development environment setup consists of several tools, however the 2 most used and essential tools that have a great impact on my …

ActiveRecord like where for array of hashes in ruby

Edit : Updated the code as per the suggestions made by Masklinn.

Recently I was working on Issue#1 of my Soulmate Rails gem, which is a …

VIM Markify

Recently I picked up some minor configs for ruby from Time Pope’s vimrc. Here’s the code :

autocmd FileType ruby
    \ if expand …

VIM Better FoldText

Update 3: Improved the code for extraction of fillchar from fillchars option and taking foldcolumn into account.

Update 2: Fixed the …

VIM Table Mode

UPDATE 2: Released v 2.0 of the plugin. Check github for details.

UPDATE : I have added more features to the original plugin, showcasing …

Amuse – ZSH Theme

Amuse is a simplistic theme I built for the popular shell ZSH that I use.

Features :

  1. Shows git prompt with additional support for dirty (! …

Vim Railscasts Colorscheme

VIM in my muscle memory is one of my popular posts, the day I published it, I attracted over 3,200 unique views in a single day, mostly from …

Soulmate Rails

UPDATE : I released the first stable version 0.2.1, it should be usable as is without any issues.

One of the most common things to do in …

Tmux Powerline Special Characters Issue

Tmux is a terminal multiplexer like Screen on steroids. It is faster, slicker and much more easily extendable than screen. For why you might …

Ubuntu on Macbook Pro

As I have mentioned before ([Magician Chrome makes RAM disappear][1]), I had been facing several issues with Mac OSX. I use vim extensively, …


« 3 / 5 »