Skip to content

Commit 2d52d37

Browse files
committed
Update: README : Add KeyBindings
1 parent e7b253c commit 2d52d37

File tree

1 file changed

+98
-0
lines changed

1 file changed

+98
-0
lines changed

README.md

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ Before you begin, ensure you have the following installed:
6767

6868
This configuration is built around a set of powerful plugins:
6969

70+
<div align = "center">
71+
7072
### Core & UI
7173

7274
| Plugin | Description |
@@ -81,6 +83,10 @@ This configuration is built around a set of powerful plugins:
8183
| **`nvim-treesitter`** | For advanced syntax highlighting and code parsing. |
8284
| **`dashboard-nvim`** | A fancy start screen for Neovim. |
8385

86+
</div>
87+
88+
<div align = "center">
89+
8490
### Development & Tooling
8591

8692
| Plugin | Description |
@@ -92,6 +98,10 @@ This configuration is built around a set of powerful plugins:
9298
| **`gitsigns.nvim`** | Git decorations and hunks in the sign column. |
9399
| **`nvim-dap`** | A Debug Adapter Protocol implementation. |
94100

101+
</div>
102+
103+
<div align = "center">
104+
95105
### Quality of Life
96106

97107
| Plugin | Description |
@@ -101,6 +111,8 @@ This configuration is built around a set of powerful plugins:
101111
| **`indent-blankline.nvim`** | Adds indentation guides. |
102112
| **`flash.nvim`** | For quick navigation within the viewport. |
103113

114+
</div>
115+
104116
---
105117

106118
## 🌐 Language Support
@@ -131,6 +143,91 @@ This configuration is designed to be easily customizable. Here are some of the k
131143

132144
---
133145

146+
## ⌨️ Keybindings
147+
148+
<div align = "center">
149+
150+
| Mode | Keybinding | Description |
151+
| :--------- | :----------------- | :------------------------------------- |
152+
| n | `<C-s>` | Save file |
153+
| i | `<C-z>` | Undo |
154+
| n | `gl` | View diagnostics for the current line |
155+
| n | `<C-a>` | Select all |
156+
| n | `<leader>sn` | Save file without auto formatting |
157+
| n | `<Esc>` | Clear highlights |
158+
| n | `<leader>q` | Open diagnostic [Q]uickfix list |
159+
| t | `<Esc><Esc>` | Exit terminal mode |
160+
| n | `<C-h>` | Move focus to the left window |
161+
| n | `<C-l>` | Move focus to the right window |
162+
| n | `<C-j>` | Move focus to the lower window |
163+
| n | `<C-k>` | Move focus to the upper window |
164+
| n | `<leader>jc` | Replace test case to input.txt |
165+
| n | `<leader>jr` | Run java code |
166+
| n | `<leader>jf` | Run cpp code |
167+
| n, v | `<leader>f` | Format file or range |
168+
| n | `<Tab>` | Next buffer |
169+
| n | `<S-Tab>` | Previous buffer |
170+
| n | `<leader>Dc` | Debug: Start/Continue |
171+
| n | `<leader>Dsi` | Debug: Step Into |
172+
| n | `<leader>DsO` | Debug: Step Over |
173+
| n | `<leader>Dso` | Debug: Step Out |
174+
| n | `<leader>Db` | Debug: Toggle Breakpoint |
175+
| n | `<leader>DB` | Debug: Set Conditional Breakpoint |
176+
| n | `<leader>Dt` | Debug: Toggle UI |
177+
| n | `<leader>Dl` | Debug: Run Last Configuration |
178+
| n | `<F5>` | Debug: Start/Continue |
179+
| n | `<F1>` | Debug: Step Into |
180+
| n | `<F2>` | Debug: Step Over |
181+
| n | `<F3>` | Debug: Step Out |
182+
| n | `<leader>b` | Debug: Toggle Breakpoint |
183+
| n | `<leader>B` | Debug: Set Breakpoint |
184+
| n | `<F7>` | Debug: See last session result. |
185+
| n | `<Leader>;` | Pick symbols in winbar |
186+
| n | `[;` | Go to start of current context |
187+
| n | `];` | Select next context |
188+
| n, x, o | `s` | Flash |
189+
| n, x, o | `S` | Flash Treesitter |
190+
| o | `r` | Remote Flash |
191+
| o, x | `R` | Treesitter Search |
192+
| c | `<c-s>` | Toggle Flash Search |
193+
| v | `<leader>hs` | git [s]tage hunk |
194+
| v | `<leader>hr` | git [r]eset hunk |
195+
| n | `<leader>hs` | git [s]tage hunk |
196+
| n | `<leader>hr` | git [r]eset hunk |
197+
| n | `<leader>hS` | git [S]tage buffer |
198+
| n | `<leader>hu` | git [u]ndo stage hunk |
199+
| n | `<leader>hR` | git [R]eset buffer |
200+
| n | `<leader>hp` | git [p]review hunk |
201+
| n | `<leader>hb` | git [b]lame line |
202+
| n | `<leader>hd` | git [d]iff against index |
203+
| n | `<leader>hD` | git [D]iff against last commit |
204+
| n | `<leader>gt` | [T]oggle git show [b]lame line |
205+
| n | `<leader>tD` | [T]oggle git show [D]eleted |
206+
| n | `<C-b>` | NeoTree reveal |
207+
| n, v | `<leader>aa` | Sidekick Toggle CLI |
208+
| n | `<leader>as` | Sidekick Select CLI |
209+
| v | `<leader>as` | Sidekick Send Visual Selection |
210+
| n, v | `<leader>ap` | Sidekick Select Prompt |
211+
| n, x, i, t | `<c-.>` | Sidekick Switch Focus |
212+
| n, v | `<leader>ac` | Sidekick Claude Toggle |
213+
| n | `<leader>sh` | [S]earch [H]elp |
214+
| n | `<leader>sk` | [S]earch [K]eymaps |
215+
| n | `<leader>sf` | [S]earch [F]iles |
216+
| n | `<leader>ss` | [S]earch [S]elect Telescope |
217+
| n | `<leader>sw` | [S]earch current [W]ord |
218+
| n | `<leader>sg` | [S]earch by [G]rep |
219+
| n | `<leader>sd` | [S]earch [D]iagnostics |
220+
| n | `<leader>sr` | [S]earch [R]esume |
221+
| n | `<leader>s.` | [S]earch Recent Files ("." for repeat) |
222+
| n | `<leader><leader>` | [ ] Find existing buffers |
223+
| n | `<leader>/` | [/] Fuzzily search in current buffer |
224+
| n | `<leader>s/` | [S]earch [/] in Open Files |
225+
| n | `<leader>sn` | [S]earch [N]eovim files |
226+
227+
</div>
228+
229+
---
230+
134231
## 🙏 Credits
135232

136233
This configuration was inspired by the many amazing Neovim users and plugin authors in the community. A special thanks to the creators of the plugins and tools that make this setup possible.
@@ -142,3 +239,4 @@ This configuration was inspired by the many amazing Neovim users and plugin auth
142239
_Made with ❤️ and Lua_
143240

144241
</div>
242+

0 commit comments

Comments
 (0)