Merge branch 'master' of github.com:gslin/config
This commit is contained in:
2
.bashrc
2
.bashrc
@@ -19,7 +19,7 @@ alias psm="ps -U $USER"
|
|||||||
alias psr="psu root"
|
alias psr="psu root"
|
||||||
alias psu="ps -U"
|
alias psu="ps -U"
|
||||||
alias s="screen"
|
alias s="screen"
|
||||||
alias ssh="ssh -4 -C -e none"
|
alias ssh="ssh -4 -C -e none -v"
|
||||||
alias t="telnet"
|
alias t="telnet"
|
||||||
#
|
#
|
||||||
complete -d cd
|
complete -d cd
|
||||||
|
|||||||
12
vimrc
12
vimrc
@@ -1,6 +1,3 @@
|
|||||||
nmap <Esc>[Z <C-w>W
|
|
||||||
nmap <Tab> <C-w>w
|
|
||||||
set background=dark
|
|
||||||
set cindent
|
set cindent
|
||||||
set cursorline
|
set cursorline
|
||||||
set encoding=utf8
|
set encoding=utf8
|
||||||
@@ -26,5 +23,14 @@ set t_Co=256
|
|||||||
set visualbell
|
set visualbell
|
||||||
set wildmenu
|
set wildmenu
|
||||||
syntax on
|
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 BufNewFile,BufRead *.psgi setf perl
|
||||||
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
|
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
|
||||||
|
|||||||
Reference in New Issue
Block a user