cshrc,screenrc,vimrc

.cshrc


alias h history 25
alias j jobs -l
alias la ls -a
alias lf ls -FA
alias ll ls -lA
alias csup csup -g -L 2
alias rm rm -i
alias vi vim
alias su su -
alias df df -h
alias du du -h
# A righteous umask
umask 22

set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
set autolist
set autoexpand
set recexact
set autocorrect
set correct = all
set prompt3 = "%SDo you mean [%R] (y/n/e) ? "
if ( $tty =~ ttyv* ) then
setenv TERM cons25
else
setenv TERM xterm-color
endif
setenv EDITOR vim
setenv PAGER less
setenv BLOCKSIZE K
setenv PACKAGEROOT http://ftp3.tw.freebsd.org
setenv CLICOLOR
setenv LSCOLORS ExGxFxdxCxDxDxBxBxExEx
setenv LANG zh_TW.UTF-8
setenv LC_TIME en_US.UTF-8

if ($?prompt) then
# An interactive shell -- set some stuff up
#set prompt = "`/bin/hostname -s`# "
set prompt = "%B%{^[[32m%}%n:%~%#"
set filec
set history = 100
set savehist = 100
set mail = (/var/mail/$USER)
if ( $?tcsh ) then
bindkey "^W" backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
endif
endif


.screenrc

#caption always "%{wb}[%M %d %C %a] Load: %l %-Lw%{Wk}%50>%n%f* %t%{-}%+Lw%< "
caption always "%{wb} %-Lw%{Wk}%50>%n%f* %t%{-}%+Lw%< "
hardstatus alwayslastline "%=%{..K}%e %{..Y} %M %d %{..G}%c %{..W} Load: %l %{wb}"
defutf8 on
defc1 off
defencoding utf8
bind b encoding big5 utf8 #^A+b Big5轉utf-8
bind u encoding utf8 utf8 #^A+u 轉utf-8
attrcolor b ".I"
attrcolor i "+b"
# tell screen how to set colors. AB = background, AF=foreground
# erase background with current bg color
term xterm
termcapinfo xterm "Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm"
defbce "on

.vimrc

set cindent
set hls
set nocompatible
set sw=2
set background=dark
syntax on
highlight Comment ctermfg=darkcyan
highlight Search term=reverse ctermbg=4 ctermfg=7
set tabstop=4
hi Normal guifg=White guibg=DarkBlue
set autoindent
set shiftwidth=4
set nobackup
set ru
set fileencoding=utf-8
set encoding=utf-8
set termencoding=utf-8
set fileencodings=utf-8,big5,euc-jp,gbk,euc-kr,utf-bom,iso8859-1
set ambiwidth=double


About this entry


Have your say

You can use some HTML tags, such as <b>, <i>, <a>