Skip to content

Instantly share code, notes, and snippets.

View laiwei's full-sized avatar
🎯
Focusing

VicLai laiwei

🎯
Focusing
View GitHub Profile
@laiwei
laiwei / bashrc
Created February 21, 2012 10:10
bashrc
# some more ls aliases
alias ll='ls -lF'
alias la='ls -A'
alias l='ls -CF'
alias j="jobs"
alias findpy='find -name "*.py"'
alias diff='colordiff'
alias svndiff='svn diff --diff-cmd=colordiff'
@laiwei
laiwei / vimrc
Created February 21, 2012 10:08
vimrc
" source /etc/vimrc
" An example for a gvimrc file.
" The commands in this are executed when the GUI is started.
"
" Maintainer: Bram Moolenaar <[email protected]>
" Last change: 2001 Sep 02
"
" To use it, copy it to
" for Unix and OS/2: ~/.gvimrc
" for Amiga: s:.gvimrc
@laiwei
laiwei / screenrc
Created February 21, 2012 09:50
screenrc
##display status line
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
##my key binding
### ^a ' ' 自动进入copy/scroll模式,方便滚动,复制