Skip to content

Commit 6a47c35

Browse files
committed
feat(mappings): add new mappings
1 parent e8694eb commit 6a47c35

File tree

1 file changed

+50
-44
lines changed

1 file changed

+50
-44
lines changed

src/content/docs/mappings.mdx

Lines changed: 50 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -115,27 +115,33 @@ AstroNvim generally relies on `<Leader>` driven mappings, which is default set t
115115

116116
## LSP Mappings
117117

118-
| Action | Mappings |
119-
| -------------------- | -------------------------------- |
120-
| LSP Info | `Leader + li` |
121-
| None-ls Info | `Leader + lI` |
122-
| Hover Document | `K` |
123-
| Format Document | `Leader + lf` |
124-
| Symbols Outline | `Leader + lS` |
125-
| Line Diagnostics | `gl`, `Leader + ld`, `<C-W> + d` |
126-
| All Diagnostics | `Leader + lD` |
127-
| Code Actions | `gra`, `Leader + la` |
128-
| Signature Help | `Leader + lh` |
129-
| Rename | `grn`, `Leader + lr` |
130-
| Document Symbols | `Leader + ls` |
131-
| Workspace Symbols | `Leader + lG` |
132-
| Diagnostic Next | `]d` |
133-
| Diagnostics Previous | `[d` |
134-
| Declaration | `gD` |
135-
| Type Definition | `gy` |
136-
| Definition | `gd` |
137-
| Implementation | `gI` |
138-
| References | `grr`, `Leader + lR` |
118+
| Action | Mappings |
119+
| --------------------------- | -------------------------------- |
120+
| LSP Info | `Leader + li` |
121+
| None-ls Info | `Leader + lI` |
122+
| Hover Document | `K` |
123+
| Format Document | `Leader + lf` |
124+
| Symbols Outline | `Leader + lS` |
125+
| Line Diagnostics | `gl`, `Leader + ld`, `<C-W> + d` |
126+
| All Diagnostics | `Leader + lD` |
127+
| Code Actions | `gra`, `Leader + la` |
128+
| Signature Help | `Leader + lh` |
129+
| Rename | `grn`, `Leader + lr` |
130+
| Document Symbols | `Leader + ls` |
131+
| Workspace Symbols | `Leader + lG` |
132+
| Diagnostic Next | `]d` |
133+
| Diagnostics Previous | `[d` |
134+
| Diagnostic Error Next | `]e` |
135+
| Diagnostic Error Previous | `[e` |
136+
| Diagnostic Warning Next | `]w` |
137+
| Diagnostic Warning Previous | `[w` |
138+
| Document Symbol Next | `]y` |
139+
| Document Symbol Previous | `[y` |
140+
| Declaration | `gD` |
141+
| Type Definition | `gy` |
142+
| Definition | `gd` |
143+
| Implementation | `gI` |
144+
| References | `grr`, `Leader + lR` |
139145

140146
## Debugger Mappings
141147

@@ -160,30 +166,30 @@ AstroNvim generally relies on `<Leader>` driven mappings, which is default set t
160166

161167
## Telescope Mappings
162168

163-
| Action | Mappings |
164-
| --------------------------------- | ---------------- |
169+
| Action | Mappings |
170+
| --------------------------------- | -------------------- |
165171
| Resume previous search | `Leader + f + Enter` |
166-
| Marks | `Leader + f'` |
167-
| Buffers | `Leader + fb` |
168-
| Word at cursor | `Leader + fc` |
169-
| Commands | `Leader + fC` |
170-
| Find files | `Leader + ff` |
171-
| Find files (include hidden files) | `Leader + fF` |
172-
| Help Tags | `Leader + fh` |
173-
| Keymaps | `Leader + fk` |
174-
| Man Pages | `Leader + fm` |
175-
| Notifications | `Leader + fn` |
176-
| Old Files | `Leader + fo` |
177-
| Registers | `Leader + fr` |
178-
| Colorschemes | `Leader + ft` |
179-
| Live Grep | `Leader + fw` |
180-
| Live Grep (include hidden files) | `Leader + fW` |
181-
| Git Branches | `Leader + gb` |
182-
| Git Commits (repository) | `Leader + gc` |
183-
| Git Commits (current file) | `Leader + gC` |
184-
| Git Status | `Leader + gt` |
185-
| LSP Symbols | `Leader + ls` |
186-
| LSP Workspace Symbols | `Leader + lG` |
172+
| Marks | `Leader + f'` |
173+
| Buffers | `Leader + fb` |
174+
| Word at cursor | `Leader + fc` |
175+
| Commands | `Leader + fC` |
176+
| Find files | `Leader + ff` |
177+
| Find files (include hidden files) | `Leader + fF` |
178+
| Help Tags | `Leader + fh` |
179+
| Keymaps | `Leader + fk` |
180+
| Man Pages | `Leader + fm` |
181+
| Notifications | `Leader + fn` |
182+
| Old Files | `Leader + fo` |
183+
| Registers | `Leader + fr` |
184+
| Colorschemes | `Leader + ft` |
185+
| Live Grep | `Leader + fw` |
186+
| Live Grep (include hidden files) | `Leader + fW` |
187+
| Git Branches | `Leader + gb` |
188+
| Git Commits (repository) | `Leader + gc` |
189+
| Git Commits (current file) | `Leader + gC` |
190+
| Git Status | `Leader + gt` |
191+
| LSP Symbols | `Leader + ls` |
192+
| LSP Workspace Symbols | `Leader + lG` |
187193

188194
## Terminal Mappings
189195

0 commit comments

Comments
 (0)