Tag: vim

12 May

Changing tab stops in Vim

I normally use spaces in my files instead of tabs for indentation, with 4 being my default indent width. Sometimes, I need to change this on existing files to 2, so for the most part, the following sequence works. First,

set ts=4 sts=4 noet
retab!

This changes every ...


01 Mar

Better VIM for Python

As someone who spends a large fraction of their day editing text and code, I've often thought about just investing a few days learning the more advanced time-saving features of my text-editor, VIM. Unfortunately, "a few days" just doesn't happen, and the few times I did learn some ...

© Virantha Ekanayake. Built using Pelican. Modified svbhack theme, based on theme by Carey Metcalfe