Tag: config

Project-Specific Vim Configuration

Usually, we have our own vim configuration in the file ~/.vimrc What if we want one for our project? For example, we are working on certain project which needs to read in a tags file. Well, here is a possible solution. You put a line at then end of your ~/.vimrc file source ./.project.vim Then


通过命令查看gem的安装位置、源等信息 $gem env 如果需要修改gem的默认安装位置,比如由于没有root权限,希望gems都默认安装到用户目录下 修改~/.gemrc文件 增加内容 gempath: - /home/haoxiang/.gem - /usr/lib/ruby/gems/1.8 gemhome: /home/haoxiang/.gem