.vimrc 添加以下内容
set softtabstop=4
set expandtab
set tabstop=4
set autoindent
set nu
set shiftwidth=4
set noerrorbells
"set encoding=utf-8 fileencodings=ucs-bom,cp936,utf-8
set encoding=cp936 fileencodings=ucs-bom,cp936,utf-8
"set show format
""set encoding=chinese "
"set encoding=utf-8
"set termencoding=utf-8
"set formatoptions+=mM
"set fencs=utf-8,gbk
"set fileencodings=utf-8,gb18030,gbk,gb2312
"set termencoding=utf-8
"set encoding=utf-8
.bash_profile 添加以下内容
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
#add by drkuan
alias iconvu2g='iconv -f utf8 -t gb18030'
alias iconvg2u='iconv -t utf8 -f gb18030'
alias myawk='awk -F "\t" -v OFS="\t"'
安装gcc建议参考
https://github.com/facebook/hhvm/wiki/Building-and-installing-HHVM-on-CentOS-6.3

被折叠的 条评论
为什么被折叠?



