Tag Archives: linux

vim color settings

I was having trouble applying a colorscheme in vim. I copied over my vimrc and .vim directory from another computer, but the colorscheme was not applying. All other settings from my vimrc were loading, but not the colors. If I set the colorscheme manually or re-sourced $MYVIMRC, then the colorscheme applied, so it was very strange. echoing g:color_scheme threw an error.

There was a color scheme file saved in ~/.vim/plugins instead of ~/.vim/colors from a long time ago. It had never loaded, so I forgot about it. vim must load plugins after running the vimrc file, overwriting my set colorscheme.

Enable indicator LED for Intel 2200BG and 2915ABG wireless cards

The 2200BG and 2915ABG cards use the ipw2200 driver, which is able to control the wifi indicator LED which most laptops will use.

To enable, run the following as root or with sudo privileges:
echo "options ipw2200 led=1" >> /etc/modprobe.d/ipw2200.modprobe
modprobe -r ipw2200 ; modprobe ipw2200

Note that these steps were used with a Dell Inspiron 6000 and Ubuntu 7.10. Certain chipsets may instead use the acerhk module, or need to add the “options ipw2200 led=1” to a different location.