Created
April 23, 2013 10:05
-
-
Save rhybroy/5442346 to your computer and use it in GitHub Desktop.
linux server rc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias fp='ps aux|grep' | |
alias vi='mvim' | |
alias df="df -h" | |
alias mv="mv -i" | |
alias slink="link -s" | |
alias l="ls -lh" | |
alias la="ls -lhAF" | |
alias ll="ls -lhF" | |
alias lt="ls -lhtrF" | |
alias l.="ls -lhtrdF .*" | |
alias cd..="cd .." | |
alias cd...="cd ../.." | |
alias cd....="cd ../../.." | |
alias ..="cd .." | |
alias ...="cd ../.." | |
alias ....="cd ../../.." | |
alias zb="cat /dev/urandom | hexdump -C | grep --color=auto \"ca fe\"" | |
alias grep="grep --color=auto" | |
alias fgrep="fgrep --color=auto" | |
alias egrep="egrep --color=auto" | |
alias sv="python -m SimpleHTTPServer" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set backspace=indent,eol,start | |
set nobackup | |
set history=50 | |
set encoding=utf-8 | |
set fileencoding=utf-8 | |
set fileencodings=utf-8,gbk,gb2312,ucs-bom,shift-jis,gb18030,cp936 | |
set ff=unix | |
" Options | |
"set paste | |
set ruler | |
set showcmd | |
set incsearch | |
set ignorecase | |
set smartcase | |
"set gdefault "default g config for search and replace | |
set smarttab | |
set expandtab | |
set shiftwidth=4 | |
set tabstop=4 | |
"set shiftround | |
set t_Co=256 " Explicitly tell vim that the terminal has 256 colors " | |
set nu | |
set mouse=a | |
set vb t_vb= | |
set autoindent | |
"set cmdheight=1 | |
"set laststatus=2 | |
"set smartindent | |
"set cursorline | |
"set cursorcolumn | |
set autoread | |
"=============display the blank chars | |
"set list | |
"set listchars=tab:▸\ ,eol:¬,extends:❯,precedes:❮ | |
set list listchars=tab:\|\ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment