# 个人部署 **Repository Path**: cryingn/personal-deployment ## Basic Information - **Project Name**: 个人部署 - **Description**: 一些部署工具集 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-06-23 - **Last Updated**: 2025-03-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 通过国内镜像安装插件:`sudo pacman -S vim-youcompleteme-git` ```vim sudo vim /usr/share/vim/vim91/defaults.vim au BufNewFile,BufRead *.d2 setf d2 map : call CompileRunGcc() func! CompileRunGcc() exec "w" if &filetype == "python" !time python % elseif &filetype == "c" !clang % -o %< && time ./%< elseif &filetype == "cpp" !clang++ % -o %< && time ./%< elseif &filetype == "go" !time go run % elseif &filetype == "r" !Rscript % elseif &filetype == "sh" !time bash ./% elseif &filetype == "rust" !rustc % && time ./%< elseif &filetype == "markdown" !vnote % elseif &filetype == "toml" !cargo build elseif &filetype == "cs" !mcs % -out:%<.exe && time mono %<.exe elseif &filetype == "asm" !nasm -f elf64 % -o %<.o && ld %<.o -o %< && time ./%< elseif &filetype == "v" !v % && time ./%< elseif &filetype == "java" !java % elseif &filetype == "d2" !d2 % endif endfunc map : call SpecialCompilation() func! SpecialCompilation() exec "w" if &filetype == "rust" !cargo run elseif &filetype == "c" !sdcc % -o %<.ihx && packihx %<.ihx > %<.hex endif endfunc map : call SpecialCompilation() func! SpecialCompilation() exec "w" if &filetype == "c" !time x86_64-w64-mingw32-gcc % -o %<.exe && time ./%<.exe endif endfunc :set number ```