mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 20:00:05 +08:00
feat(go): update go layer doc
close https://github.com/SpaceVim/SpaceVim/issues/3444
This commit is contained in:
parent
6b989ef361
commit
b488dd5aeb
@ -80,29 +80,29 @@ go install github.com/jstemmer/gotags@latest
|
|||||||
|
|
||||||
**Import key bindings:**
|
**Import key bindings:**
|
||||||
|
|
||||||
| Key Bindings | Descriptions |
|
| Key Bindings | Descriptions |
|
||||||
| ------------ | ------------------------- |
|
| ------------ | ---------------------------------------------- |
|
||||||
| `SPC l a` | go alternate |
|
| `SPC l a` | go alternate |
|
||||||
| `SPC l b` | go build |
|
| `SPC l b` | go build |
|
||||||
| `SPC l c` | go coverage |
|
| `SPC l c` | go coverage |
|
||||||
| `SPC l d` | go doc |
|
| `SPC l d` | go doc |
|
||||||
| `SPC l D` | go doc vertical |
|
| `SPC l D` | go doc vertical |
|
||||||
| `SPC l e` | go rename |
|
| `SPC l e` | go rename |
|
||||||
| `SPC l g` | go definition |
|
| `SPC l g` | go definition |
|
||||||
| `SPC l G` | go generate |
|
| `SPC l G` | go generate |
|
||||||
| `SPC l h` | go info |
|
| `SPC l h` | go info |
|
||||||
| `SPC l i` | go implements |
|
| `SPC l i` | go implements |
|
||||||
| `SPC l I` | implement stubs |
|
| `SPC l I` | implement stubs |
|
||||||
| `SPC l k` | add tags |
|
| `SPC l k` | add tags |
|
||||||
| `SPC l K` | remove tags |
|
| `SPC l K` | remove tags |
|
||||||
| `SPC l l` | list declarations in file |
|
| `SPC l l` | list declarations, need `ctrlp` or `fzf` layer |
|
||||||
| `SPC l m` | format imports |
|
| `SPC l m` | format imports |
|
||||||
| `SPC l M` | add import |
|
| `SPC l M` | add import |
|
||||||
| `SPC l r` | go run |
|
| `SPC l r` | go run |
|
||||||
| `SPC l s` | fill struct |
|
| `SPC l s` | fill struct |
|
||||||
| `SPC l t` | go test |
|
| `SPC l t` | go test |
|
||||||
| `SPC l v` | freevars |
|
| `SPC l v` | freevars |
|
||||||
| `SPC l x` | go referrers |
|
| `SPC l x` | go referrers |
|
||||||
|
|
||||||
**Code formatting:**
|
**Code formatting:**
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user