Default settings

.vimrc:
set uc=0
set nobackup
set nowritebackup
set noswapfile
set nomodeline

.Xmodmap:
!Swap caps lock and escape
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock

On the Kinesis keyboard, Progrm+\ turns off sound for all regular keys. Progrm+- turns off Caps Lock and Num Lock sound.

.bash_profile:
# Colors.
NC='\e[0m'
black='\e[0;30m'
BLACK='\e[1;30m'
red='\e[0;31m'
RED='\e[1;31m'
green='\e[0;32m'
GREEN='\e[1;32m'
yellow='\e[0;33m'
YELLOW='\e[1;33m'
blue='\e[0;34m'
BLUE='\e[1;34m'
magenta='\e[0;35m'
MAGENTA='\e[1;35m'
cyan='\e[0;36m'
CYAN='\e[1;36m'
white='\e[0;37m'
WHITE='\e[1;37m'

# A prompt showing the current directory.
PS1="\[$GREEN\]\W \[$BLUE\]$\[$NC\] "

.bash_profile or /etc/profile or (on Gentoo) /etc/env.d/99local:
# Enable scim-anthy for Japanese character input.
export XMODIFIERS='@im=SCIM'
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"

Creative Commons License
This work (the text of this blog entry) is licensed under a Creative Commons Attribution 3.0 Unported License.
For attribution of this work, link to this page and include my name, Douglas P Perkins.