git clone https://github.com/wklken/k-vim.git
sudo apt-get install ctags
sudo apt-get install build-essential cmake python-dev
sudo apt-get install silversearcher-ag
sudo yum install python-devel.x86_64
sudo yum groupinstall 'Development Tools'
sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum install the_silver_searcher
sudo yum install cmake
brew install ctags
brew install the_silver_searcher
sudo pip inctall flake8 yapf
cd k-vim/
sh -x install.sh
cd ~ && rm -rf .vim .vimrc .vimrc.bundles && cd -
默认使用的是solarized主题,如果觉得配色不对,可以切换至molokai主题,在~/.vimrc下载修改就好了

sudo apt-get install zsh
zsh --version
chsh -s $(which zsh)
echo $SHELL
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
sudo reboot
sudo apt-get install tmux
tmux [new -s 会话名 -n 窗口名]
tmux detach
tmux ls
tmux attach -t 会话名
ctrl + b 再按 "
ctrl + b 再按 %
ctrl + b 再按o
ctrl + b 再按x
ctrl + b 再按空格键
vim ~/.tmux.conf
set-option -g mouse on
htop是top的高级版,就是好用
htop -d 10
vim ~/.mycommand.sh
function cnt()
{
find $1 -name '*' | wc -l
}
function dirsize()
{
du -sh $1
}
vim ~/.zshrc 最后一行添加source ~/.mycommand.sh
source .zshrc
