[TOC]
-
Dotfiles :个人配置文件
git clone https://github.com/sleepyblackcat/dotfiles.git
-
Tmux :终端复用
sudo apt-get install tmux xclip automake pkg-config libevent-dev libncurses-dev # copy config file cp dotfiles/.tmux.conf ~/
-
Vim :文本编辑器
Ref: terminal 工作环境配置
cp dotfiles/.vimrc ~/ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim # you_complete_me 安装非常慢,耐心等 vim +PluginInstall +qall # 安装 you_complete_me sudo apt-get install build-essential cmake sudo apt-get install python-dev python3-dev cd ~/.vim/bundle/YouCompleteMe git submodule update --init --recursive ./install.py --clang-completer # 安装 clang-format mkdir -p ~/.vim/prebuild/clang curl http://releases.llvm.org/5.0.1/clang+llvm-5.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz -o ~/.vim/prebuild/clang/llvm.tar.xz # 或者到 http://releases.llvm.org/download.html 下载对应版本 prebuilds pushd ~/.vim/prebuild/clang mkdir llvm tar -xvf llvm.tar.xz -C llvm --strip-components 1 echo "export PATH=~/.vim/prebuild/clang/llvm/bin:\$PATH" >> ~/.bash_profile source ~/.bash_profile popd # 安装 vim 用的 py2 sudo apt-get install vim-nox-py2 sudo update-alternatives --config vim # 更换vim (切换python版本,现在的vim是py3,但是有很多插件只支持py2)
-
Tree :树形目录查看
sudo apt-get install tree
-
Zsh:
sudo apt-get install zsh
Oh My Zsh:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
-
sudo apt-get install feh sudo apt-get install ffmpeg
-
Rsync :同步文件夹
sudo apt-get install rsync