mirror of
https://oauth2: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@github.com/m1ngsama/chopsticks.git
synced 2026-05-10 19:10:59 +08:00
Performance: - Fix g:loaded_logipat → g:loaded_logiPat (0.478ms → 0.017ms) - Skip openPlugin + manpager (12 built-in plugins disabled total) Features: - ,af toggle format-on-save - ,gL git log --oneline --graph - ,gC FZF commits search, ,gB buffer commits
21 lines
748 B
VimL
21 lines
748 B
VimL
" env.vim — environment detection (must load first)
|
|
|
|
set nocompatible
|
|
|
|
let g:is_tty = empty($TERM) || $TERM ==# 'dumb' || $TERM =~# 'linux'
|
|
\ || $TERM =~# 'screen' || &term =~# 'builtin'
|
|
let g:has_true_color = ($COLORTERM ==# 'truecolor' || $COLORTERM ==# '24bit')
|
|
|
|
" Skip built-in plugins we never use
|
|
let g:loaded_2html_plugin = 1
|
|
let g:loaded_getscriptPlugin = 1
|
|
let g:loaded_gzip = 1
|
|
let g:loaded_logiPat = 1
|
|
let g:loaded_rrhelper = 1
|
|
let g:loaded_tarPlugin = 1
|
|
let g:loaded_vimballPlugin = 1
|
|
let g:loaded_zipPlugin = 1
|
|
let g:loaded_tutor_mode_plugin = 1
|
|
let g:loaded_spellfile_plugin = 1
|
|
let g:loaded_openPlugin = 1
|
|
let g:loaded_manpager_plugin = 1
|