On Fri, 13 Jul 2012 10:04:27 -0700, Adam Wight <awight(a)wikimedia.org>
wrote:
Hello new developer comrades,
The following line in my .vimrc file has given me back some form of
happiness that I thought I had lost after several weeks of switching tab
settings every time I might be editing a mw sourcefile. I am once again
free to work on multiple open-source projects without heaping
disapprobation and calumny on myself and others.
With love,
Adam
=====
" surprise! ascii 9 is back from the dead ... what, are we writing
Makefiles??
autocmd BufNewFile,BufRead */mediawiki-*/** set tabstop=4 noexpandtab
Has no one bothered to try and program vim to be tab smart? Half the
editors I've tried to use scan the documents you open an use an automatic
heuristic to guess what indentation rules are used in it.
--
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [
http://daniel.friesen.name]