Nvim dotfiles, With lazy.nvim💤 Plugin
git clone https://github.com/adilhyz/nvim ~/.config/nvim && nvimTip
Use Update after Installation
:Lazy sync
just use nvim on directory, no use for showing this keymaps:nvim ~/yourdirectory/
| Mode | Key | Description |
|---|---|---|
| Normal | <C-p> | Find File |
| Normal | <C-n> | New File |
| Normal | <C-f> | Find Text |
| Normal | <C-.> | Show Config |
| Normal | <C-l> | Recent Files |
| Normal | L | Lazy |
| Normal | q | Quit |
| Mode | Key | Description |
|---|---|---|
| Normal | <leader>e | Toggle file explorer |
| Normal | <leader><space> | Smart Find Files |
| Normal | <leader>, | Buffers |
| Normal | <leader>/ | Grep |
| Normal | <leader>: | Command History |
| Normal | <leader>fb | Buffers |
| Normal | <leader>fc | Find Config File |
| Normal | <leader>ff | Find Files |
| Normal | <leader>fg | Find Git Files |
| Normal | <leader>fp | Projects |
| Normal | <leader>fr | Recent |
| Normal | <leader>o | Convert Markdown to PDF |
| Normal | <leader>oq | Toggle KNAP auto-preview |
| Normal | <C-n> | New file |
| Normal | <C-.> | Show Config |
| Normal | <C-p> | Find files (including hidden) |
| Normal | <C-f> | Find Text |
| Mode | Key | Description |
|---|---|---|
| Normal | <C-s> | Save file |
| Normal | <leader>q | Quit Neovim |
n, v, i, c |
<C-q> | Quit from any mode |
n, i |
<C-z> | Undo |
n, i |
<C-y> | Redo |
| Mode | Key | Description |
|---|---|---|
| Normal | <C-a> | Select all text |
n, v, i, c |
<C-c> | Copy to clipboard |
n, v, i, c |
<C-v> | Paste from clipboard |
n, v, i, c |
<C-x> | Cut to clipboard |
n, v |
<C-/> | Toggle comment |
| Normal | <C-h> | Replace text (global) |
| Normal | <C-g> | Go to line line number(int) |
| Normal | <C-d> | Select next occurrence |
| Mode | Key | Description |
|---|---|---|
n, i, v |
<C-S-Up> | Duplicate line up |
n, i, v |
<C-S-Down> | Duplicate line down |
| Normal | <A-j> | Move line down |
| Normal | <A-k> | Move line up |
| Visual | <A-j> | Move selected block down |
| Visual | <A-k> | Move selected block up |
| Visual | <A-/> | Add comment |
| Visual | <Tab> | Indent right |
| Visual | <S-Tab> | Indent left |
| Insert | <S-Left> | Select text left |
| Insert | <S-Right> | Select text right |
| Insert | <S-Up> | Select text up |
| Insert | <S-Down> | Select text down |
| Insert | <S-Home> | Select to line start |
| Insert | <S-End> | Select to line end |
| Insert | <S-PageUp> | Select one page up |
| Insert | <S-PageDown> | Select one page down |
| Mode | Key | Description |
|---|---|---|
| Normal | <leader>sv | Split vertically |
| Normal | <leader>sh | Split horizontally |
| Normal | <leader>se | Equalize split sizes |
| Normal | <leader>sx | Close split |
| Normal | te | Edit in new tab |
| Normal | <C-Tab> | Next tab |
| Normal | <C-S-Tab> | Previous tab |
| Normal | <C-n> | New tab |
| Normal | <C-w> | Close tab |
| Normal | <Tab> | Next buffer |
| Normal | <S-Tab> | Previous buffer |
| Normal | <leader>x | Close buffer |
| Normal | <A-p> | Pin buffer |
| Mode | Key | Description |
|---|---|---|
| Normal | <leader>gg | Lazygit |
| Normal | <leader>gl | Lazygit |
| Normal | <leader>glf | Lazygit Log File |
| Normal | <leader>gb | Git Branches |
| Normal | <leader>gL | Git Log Line |
| Normal | <leader>gs | Git Status |
| Normal | <leader>gS | Git Stash |
| Normal | <leader>gd | Git Diff (Hunks) |
| Normal | gd | Goto Definition |
| Normal | gD | Goto Declaration |
| Normal | gr | References |
| Normal | gI | Goto Implementation |
| Normal | gy | Goto Type Definition |
| Normal | <leader>ss | LSP Symbols |
| Normal | <leader>sS | LSP Workspace Symbols |
| Mode | Key | Description |
|---|---|---|
| Normal | <Alt-o> | Markdown Preview Toggle |
| Normal | <Alt-z> | Markdown Preview Stop |
| Mode | Key | Description |
|---|---|---|
n, v |
<RightMouse> | Open right-click menu |
| Normal | <C-`> | Open Terminal on footer like VS Code |
| Normal | <C-S-`> | Open Terminal on footer like VS Code |
| Normal | <leader>td | To-do (Top Right) |
| Normal | <leader>td | Zen Mode |
- folke (plugin)
- gh0stzk (based)
