docs: fix plugin count (25), improve first-launch guidance, add :LspInstallServer to cheat sheet

This commit is contained in:
m1ngsama 2026-04-22 15:09:27 +08:00
parent 0e92e6c1a8
commit 73a55e18e6
3 changed files with 6 additions and 5 deletions

View file

@ -8,7 +8,7 @@ Five minutes from zero to a working Vim setup.
curl -fsSL https://raw.githubusercontent.com/m1ngsama/chopsticks/main/get.sh | bash curl -fsSL https://raw.githubusercontent.com/m1ngsama/chopsticks/main/get.sh | bash
``` ```
Open vim. Plugins install automatically on first launch (30-60s). Restart vim. Open vim. First launch auto-installs plugins — **wait 30-60s, don't close vim**. Restart when done.
## Modes ## Modes
@ -52,7 +52,7 @@ K hover docs
Tab / S-Tab cycle completions Tab / S-Tab cycle completions
``` ```
Install language servers with `:LspInstallServer` (auto-detects filetype). **First time in a new language?** Run `:LspInstallServer` — it auto-detects filetype and installs the right server. Do this once per language.
## Git ## Git

View file

@ -5,7 +5,7 @@
<h1 align="center">chopsticks</h1> <h1 align="center">chopsticks</h1>
<p align="center"> <p align="center">
<strong>Vim for engineers. 24 plugins, works over SSH.</strong> <strong>Vim for engineers. 25 plugins, works over SSH.</strong>
</p> </p>
<p align="center"> <p align="center">
@ -30,7 +30,7 @@ You SSH into a server. You need to edit code. You want LSP, fuzzy find, git inte
chopsticks gives you a production-ready Vim config in one command. Pure VimScript — no Node.js for the core. Degrades gracefully on TTY. Works the same on your MacBook and your headless Arch box. chopsticks gives you a production-ready Vim config in one command. Pure VimScript — no Node.js for the core. Degrades gracefully on TTY. Works the same on your MacBook and your headless Arch box.
**24 plugins**, LSP, linting, and a hand-built statusline. No bloat, no decorations, just tools. **25 plugins**, LSP, linting, and a hand-built statusline. No bloat, no decorations, just tools.
## What's in the box ## What's in the box
@ -120,7 +120,7 @@ ALE and vim-lsp coexist cleanly (`ale_disable_lsp=1`). ALE handles linting + for
├── .vimrc thin loader ├── .vimrc thin loader
├── modules/ ├── modules/
│ ├── env.vim TTY detection, truecolor │ ├── env.vim TTY detection, truecolor
│ ├── plugins.vim vim-plug + 24 plugins │ ├── plugins.vim vim-plug + 25 plugins
│ ├── core.vim settings, keymaps, performance │ ├── core.vim settings, keymaps, performance
│ ├── ui.vim solarized, statusline, startify │ ├── ui.vim solarized, statusline, startify
│ ├── editing.vim easymotion, yank highlight │ ├── editing.vim easymotion, yank highlight

View file

@ -159,6 +159,7 @@ function! s:CheatSheet() abort
\ ' ,mt table of contents', \ ' ,mt table of contents',
\ ' [g ]g LSP diagnostics', \ ' [g ]g LSP diagnostics',
\ ' [e ]e ALE errors', \ ' [e ]e ALE errors',
\ ' :LspInstallServer setup LSP',
\ '', \ '',
\ ' ── edit ──────────────────', \ ' ── edit ──────────────────',
\ ' gc comment', \ ' gc comment',