mirror of
https://oauth2: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@github.com/m1ngsama/chopsticks.git
synced 2026-05-10 19:10:59 +08:00
docs: fix plugin count (25), improve first-launch guidance, add :LspInstallServer to cheat sheet
This commit is contained in:
parent
0e92e6c1a8
commit
73a55e18e6
3 changed files with 6 additions and 5 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue