vim个人配置

git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh
mkdir -p ~/.vim_runtime/pack/plugins/start
git clone --depth=1 https://github.com/dense-analysis/ale ~/.vim_runtime/pack/plugins/start/ale

➜  ~ cat ~/.vim_runtime/my_configs.vim
set nu
packloadall

let g:ale_update_tagstack = 1

"Generate tags and cscope.out from FileList.txt (c, cpp, h, hpp)
nmap  :!find -name "*.c" -o -name "*.cpp" -o -name "*.h" -o -name "*.hpp" > FileList.txt
                       \ :!ctags -L -< FileList.txt
                       \ :!cscope -bkq -i FileList.txt

你可能感兴趣的:(vim个人配置)