~/.vimrc
syntax on # 根據不同形式檔案作出彩色字體
set nu # VI中列出行號
set tabstop=4 # TAB鍵空四格(defaualt8格)
set expandtab # 將TAB轉成SPACE
# 若要輸入TAB,打CTRL+V+TAB
# 若要整個file TAB變成SPACE
# :retab命令
~/.Xresources
XTerm*font: -*-courier-medium-r-*-*-*-180-*-*-*-*-iso8859-*
XTerm*background: black
XTerm*foreground: lightYellow
XTerm*scrollBar: true
XTerm*rightScrollBar: true
XTerm*saveLines: 1000
XTerm*scrollbar*Foreground: Gray30
XTerm*scrollbar*Background: Gray75
/etc/X11/xinitrc
#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
userresources="$HOME"/.Xresources
usermodmap="$HOME"/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f "$sysresources" ]; then
xrdb -merge "$sysresources"
fi
if [ -f "$sysmodmap" ]; then
xmodmap "$sysmodmap"
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
exec xterm -e /usr/bin/bash -l
~/.bashrc
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias rm='rm -i'
#For Debian 5
alias xterm='xterm -fn *-fixed-*-*-*-16-*
No comments:
Post a Comment