nvim-lua.kickstart.nvim/lua/custom/keybinding_cheatsheet.md

51 lines
1.6 KiB
Markdown
Raw Normal View History

2025-06-14 09:15:11 +05:30
# Neovim Keybinding Cheatsheet
## General
| Key | Mode | Description |
| ----------- | ---- | ----------------------- |
| `<leader>w` | n | Save file |
| `<leader>q` | n | Quit |
| `<leader>Q` | n | Force quit all |
| `<leader>W` | n | Save and quit |
| `<leader>/` | n | Clear search highlights |
| `<Esc>` | n | Clear highlights |
## Navigation
### Window Navigation
| Key | Mode | Description |
| ------- | ---- | -------------------- |
| `<C-h>` | n | Move to left window |
| `<C-j>` | n | Move to lower window |
| `<C-k>` | n | Move to upper window |
| `<C-l>` | n | Move to right window |
### Window Management (`<leader>w`)
| Key | Mode | Description |
| ------------ | ---- | ------------------------- |
| `<leader>wv` | n | Split window vertically |
| `<leader>ws` | n | Split window horizontally |
| `<leader>wq` | n | Close current window |
| `<leader>wo` | n | Close other windows |
| `<leader>wh` | n | Go to left window |
| `<leader>wj` | n | Go to lower window |
| `<leader>wk` | n | Go to upper window |
| `<leader>wl` | n | Go to right window |
### Window Resizing
| Key | Mode | Description |
| ----------- | ---- | ---------------------- |
| `<M-Up>` | n | Increase window height |
| `<M-Down>` | n | Decrease window height |
| `<M-Left>` | n | Decrease window width |
| `<M-Right>` | n | Increase window width |
### Tab Management (`<leader>t`)
| Key | Mode | Description |
| --- | ---- | ----------- |