vim个人配置

2023-01-30  本文已影响0人  曦然0o0
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 <C-@> :!find -name "*.c" -o -name "*.cpp" -o -name "*.h" -o -name "*.hpp" > FileList.txt<CR>
                       \ :!ctags -L -< FileList.txt<CR>
                       \ :!cscope -bkq -i FileList.txt<CR>
上一篇 下一篇

猜你喜欢

热点阅读