mirror of
https://oauth2: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@github.com/m1ngsama/chopsticks.git
synced 2026-05-10 19:10:59 +08:00
Remove: Goyo, Limelight, previm, vim-obsession, indentLine (5 plugins). Remove: cheat sheet function (90 lines), tutorial system (269 lines), ASCII art banner, tab management (8 keybindings), dead code (HasPaste, CleanExtraSpaces, ToggleNumber), spell nav bindings, scratch buffer, syntax stack debug, TTY startup message. Fold: writing.vim → languages.vim (vim-markdown settings only). Keep: everything that edits code — LSP, FZF, Git, ALE, netrw sidebar. Result: 24 plugins, 949 lines, 19ms startup. No decorations, just tools.
20 lines
495 B
VimL
20 lines
495 B
VimL
if exists('g:chopsticks_loaded') | finish | endif
|
|
let g:chopsticks_loaded = 1
|
|
|
|
let g:chopsticks_dir = fnamemodify(resolve(expand('<sfile>')), ':h')
|
|
|
|
function! s:load(mod) abort
|
|
execute 'source ' . g:chopsticks_dir . '/modules/' . a:mod . '.vim'
|
|
endfunction
|
|
|
|
call s:load('env')
|
|
call s:load('plugins')
|
|
call s:load('core')
|
|
call s:load('ui')
|
|
call s:load('editing')
|
|
call s:load('navigation')
|
|
call s:load('lsp')
|
|
call s:load('lint')
|
|
call s:load('git')
|
|
call s:load('languages')
|
|
call s:load('tools')
|