Sublime Text style multi line selection with Vim

The multiple selection feature of Sublime Text is something that helps you a lot when you’re aiming to change a variable name multiple times in one file. This is immensely practical, also while re-factoring, changing font-names, colours or anything that appears more than one time in your files. The plugin can be found here: vim multiple cursors, I’ve also added it to my vim plugin repository.

Here an example, if I for example want to rename my callback function to cb:


The keybinding for selecting the next match is CTRL+N, to delete: x and to type something new: i (going to insert mode) cb.

Using Adobe’s Source Code Pro in Vim

Source Code Pro
is a really nice font for programming, even though it comes from Adobe. I recently banged my head into a wall of too many inconsistent answers on the internet on how to use it inside gVim/MacVim. That’s why I’m just putting down the solution that finally workd for me. Continue reading “Using Adobe’s Source Code Pro in Vim”

Why Shells are Awesome

I’m a developer, I think shells are awesome. When I was in ninth grade I took a class in typing with the 10-finger system, which was a full year of typing dull things into an incredibly old DOS interface.
I took these classes, because I had a couple of those Linux magazines and the authors occasionally brought up how much faster things were if you just could use your keyboard, instead of your mouse. My problem was, that I couldn’t type perfectly without looking at the keyboard. Continue reading “Why Shells are Awesome”