Merge branch 'master' of github.com:gslin/config

This commit is contained in:
Gea-Suan Lin
2011-03-30 00:09:44 +08:00
2 changed files with 10 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ alias psm="ps -U $USER"
alias psr="psu root"
alias psu="ps -U"
alias s="screen"
alias ssh="ssh -4 -C -e none"
alias ssh="ssh -4 -C -e none -v"
alias t="telnet"
#
complete -d cd

12
vimrc
View File

@@ -1,6 +1,3 @@
nmap <Esc>[Z <C-w>W
nmap <Tab> <C-w>w
set background=dark
set cindent
set cursorline
set encoding=utf8
@@ -26,5 +23,14 @@ set t_Co=256
set visualbell
set wildmenu
syntax on
"
" color schema
set background=dark
"
" keybinding
nmap <Esc>[Z <C-w>W
nmap <Tab> <C-w>w
"
" other
au BufNewFile,BufRead *.psgi setf perl
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif