Linux environment setup
Linux environment setup
directory colors
install git
1 | $ sudo apt-get install -y git |
使用solarized theme for GNU ls
1 | $ git clone https://github.com/seebi/dircolors-solarized.git |
使用dircolors.256dark配色
1 | $ cp ~/dircolors-solarized/dircolors.256dark ~/.dircolors |
设置Terminal支持256色, vim .bashrc并添加以下内容
1 | export TERM=xterm-256color |
最后再source一下.bashrc
1 | $ source .bashrc |
或者重新登录一下终端
vimrc
新建一个工作目录vim
1 | $ mkdir ~/vim |
安装Vundle
1 | $ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim |
vim使用molokai主题
1 | $ git clone https://github.com/tomasr/molokai.git ~/vim |
安装ctags
1 | $ sudo apt-get install -y ctags |
从github上获取我的vimrc文件
1 | $ git clone https://github.com/laishanhai1040/vimrc.git ~/vim |
然后打开vim, 在命令模式使用PluginInstall安装vim插件。

