UAC, and Configuring GVim on Windows 7

With all this new stuff about user access control (UAC), I tend to use Windows much more in the same way that I would use another Unix OS. The default UAC settings let us know each time we must use admin privileges to do something crazy on the computer.

Using Windows XP, it would be a pain to switch to an admin account everytime we want to do this crazy something. Because of this, I’m logged on admin full time when using XP, and I don’t like it. (If anyone knows another way, please tell me, or not because I won’t use it anymore). I’m glad this has changed. I think Vista also has this feature, but since it was Vista, I didn’t care.

All this to talk about Gvim‘s startup settings file, located under a system folder in Program Files. Under XP, I changed the settings right in this file. Of course, I would never do that under, say, Ubuntu — I have this file hidden right in the root of my home directory, as it is with pretty much any other software. Under 7, I was quickly reminded that I needed admin privileges to change it. “Good lord”, I thought to myself, “Not only Windows became more multi-user friendly, it even tells me to behave well!”. Good. Put your config files at home, you bastards.

Anyway, to change startup settings, I copied _vimrc from vim‘s folder into my home directory. To set font to Lucida Console, height 12, width 6.5:

set guifont=Lucida_Console:h12:w6.5

Backup and swap files are annoying:

set nobackup nowritebackup noswapfile

Also,

syntax on
colorscheme darkblue

Doc: http://www.vim.org/htmldoc/options.html