美文网首页
vim个人配置

vim个人配置

作者: 曦然0o0 | 来源:发表于2023-01-30 08:10 被阅读0次
    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>
    

    相关文章

      网友评论

          本文标题:vim个人配置

          本文链接:https://www.haomeiwen.com/subject/selmhdtx.html