This repository hosts my Neovim configuration powered by 💤 Lazy.nvim.
- LSP integration: nvim-lspconfig & mason.nvim
- Code formatter: none-ls.nvim
- LSP enhancement plugin: lspsaga.nvim
- Git integration: gitsigns.nvim & vim-fugitive
- File tree explorer: neo-tree
- Ultra fast file finder: telescope.nvim
- Search and replace: nvim-spectre
- Faster code commenting: comment.nvim
- Split window tool: vim-maximizer
- Multiple cursors: vim-visual-multi
- Better code folding: nvim-ufo
- User-defined mapping hint: which-key.nvim
- Greeter for neovim: alpha-nvim
- Beautiful status line: lualine.nvim & incline.nvim
- Plugin for Go programming language: gopher.vim
- Programming metrics: vim-wakatime
- AI code completion: codeium.nvim
- And more...
Key | Description | Mode |
---|---|---|
<ESC> |
Escape and clear hlsearch | n |
<leader>sv |
Split window vertically | n |
<leader>sh |
Split window horizontally | n |
<leader>se |
Equal split size | n |
<leader>sx |
Close current split | n |
<C-k> |
Go to upper split | n |
<C-j> |
Go to lower split | n |
<C-h> |
Go to left split | n |
<C-l> |
Go to right split | n |
<C-u> |
Page up | n |
<C-d> |
Page down | n |
<A-k> |
Scroll up | n |
<A-j> |
Scroll down | n |
<C-k> |
Move up | i |
<C-j> |
Move down | i |
<C-h> |
Move left | i |
<C-l> |
Move right | i |
<A-k> |
Move line up | i, v |
<A-j> |
Move line down | i, v |
Key | Description | Mode |
---|---|---|
<C-y> |
Accept Codeium snippet | i |
Key | Description | Mode |
---|---|---|
<leader>gcc |
Toggle comment | n |
<leader>gc |
Toggle comment | v |
Key | Description | Mode |
---|---|---|
<leader>gg |
Git (Full screen) | n |
<leader>gv |
Git diff vertical | n |
Key | Description | Mode |
---|---|---|
<leader>[c |
Prev hunk | n |
<leader>]c |
Next hunk | n |
<leader>gd |
Toggle deleted | n |
<leader>gp |
Preview hunk | n |
<leader>gr |
Reset hunk | n |
Key | Description | Mode |
---|---|---|
<leader>gaj |
Add json struct tags | n |
<leader>gay |
Add yaml struct tags | n |
<leader>gad |
Add db struct tags | n |
<leader>gie |
Add iff err block | n |
Key | Description | Mode |
---|---|---|
gi |
LSP implementation | n |
gr |
LSP references | n |
<leader>cf |
LSP formatting | n |
<leader>cl |
LSP info | n |
<leader>wl |
List workspace folders | n |
Key | Description | Mode |
---|---|---|
<S-k> |
Hover | n |
<leader>ca |
Code action | n |
gd |
Peek definition | n |
gD |
Goto definition | n |
[d |
Prev diagnostic | n |
]d |
Next diagnostic | n |
Key | Description | Mode |
---|---|---|
<leader>ll |
Lazy | n |
<leader>lu |
Lazy update | n |
Key | Description | Mode |
---|---|---|
<leader>cm |
Mason | n |
Key | Description | Mode |
---|---|---|
<leader>sm |
Toggle maximize split | n |
Key | Description | Mode |
---|---|---|
<leader>e |
Explorer nvimtree | n |
Key | Description | Mode |
---|---|---|
<leader>nh |
Noice history | n |
Key | Description | Mode |
---|---|---|
<leader>sr |
Replace in files (Spectre) | n |
Key | Description | Mode |
---|---|---|
<leader>q |
Diagnostic | n |
<leader>ff |
Find files (Root dir) | n |
<leader>fb |
Find in opened buffers | n |
<leader>fr |
Resume find | n |
<leader>fg |
Grep | n |
<leader>fk |
Key maps | n |
<leader>fs |
Find word (Root dir) | n |
<leader>gc |
Show git commits | n |
<leader>gs |
Show git status | n |
<leader>th |
Theme switcher | n |
Key | Description | Mode |
---|---|---|
<A-i> |
Toggle floating term | n |
<A-h> |
Toggle horizontal term | n |
<A-v> |
Toggle vertical term | n |
Key | Description | Mode |
---|---|---|
za |
Toggle fold | n |
zR |
Open all folds | n |
zM |
Close all folds | n |
Key | Description | Mode |
---|---|---|
<leader>wt |
WakaTime today | n |
Key | Description | Mode |
---|---|---|
<leader>wk |
Which-key all keymaps | n |