mv ~/.config/nvim ~/.config/nvim.backup
git clone https://github.com/xduck7/my-nvim-v2.git ~/.config/nvim
Neovim Configuration Keymaps
This document lists all keybindings configured in the Neovim setup.
The leader key is set to <Space>.
LSP (Language Server Protocol) Keymaps
Key
Mode
Description
gd
Normal
Go to Definition
K
Normal
Hover Documentation
<leader>rn
Normal
Rename Symbol
<leader>qf
Normal
LSP Code Action
<leader>cd
Normal
Line Diagnostics (open float)
gi
Normal
Find implementations (Snacks picker)
gr
Normal
Find references (Snacks picker)
Key
Mode
Description
<C-t>
Normal
Toggle terminal
<C-t>
Terminal
Toggle terminal
Key
Mode
Description
<leader>e
Normal
Toggle Neo-tree
Key
Mode
Description
<S-h>
Normal
Focus next window (cycle)
<S-l>
Normal
Focus previous window (cycle)
Key
Mode
Description
<leader>q
Normal
Save and quit (:wq)
<leader>w
Normal
Save (:w)
Key
Mode
Description
<Tab>
Normal
Cycle to next buffer (BufferLine)
<leader><Tab>
Normal
Cycle to previous buffer (BufferLine)
<leader>bd
Normal
Delete current buffer
Key
Mode
Description
<leader>m
Normal
Toggle Markview preview
Commenting
Key
Mode
Description
<leader>c
Normal
Toggle comment (supports count)
Key
Mode
Description
<leader>rc
Normal
Open ranger (neoranger)
<leader>rr
Normal
Open ranger in current file's directory
Key
Mode
Description
<leader>lg
Normal
Open LazyGit
<leader>gb
Normal
Toggle Git blame window
<leader>gB
Normal
Toggle Git blame virtual
]h
Normal
Next git hunk (Gitsigns)
[h
Normal
Previous git hunk (Gitsigns)
<leader>hp
Normal
Preview git hunk (Gitsigns)
<leader>hs
Normal, Visual
Stage git hunk (Gitsigns)
<leader>hu
Normal
Undo stage git hunk (Gitsigns)
Key
Mode
Description
<leader>ff
Normal
Find files (Seeker)
<leader><leader>
Normal
Find files (Seeker)
<leader>fg
Normal
Grep with Seeker
<leader>/
Normal
Grep with Seeker
<leader>fb
Normal
List buffers (:ls)
<leader>fh
Normal
Open help (:help …)
Key
Mode
Description
<leader>nm
Normal
Toggle global minimap
<leader>nr
Normal
Refresh global minimap