You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Neovim uses nvim-cmp for intelligent autocompletion with multiple sources:
Action
Key
Description
Trigger completion
<C-Space>
Show completion menu
Scroll up docs
<C-b>
Scroll documentation up
Scroll down docs
<C-f>
Scroll documentation down
Abort completion
<C-e>
Close completion menu
Confirm selection
<CR>
Accept selected completion item
Code Navigation (Neovim LSP Defaults)
Neovim provides these built-in LSP keybindings (no custom config needed):
Action
Key
Description
Code action
gra
Code action (Normal & Visual)
Go to implementation
gri
Go to implementation
Rename symbol
grn
Rename symbol
Find references
grr
Find all references
Go to type definition
grt
Go to type definition
Document symbol
gO
List document symbols
Show documentation
K
Show documentation in preview
Signature help
<C-S>
Show signature help (Insert)
Search and Navigation (fzf-lua)
Action
Key
Description
Find files
<Space>fo
Find files in project
Project grep
<Space>r
Search in project files
Project grep word
<Space><Space>r
Search current word in project
Search in buffer
<Space>/
Fuzzy find in current buffer
Search in all buffers
<Space>.
Search in open buffers
Help tags
<Space>fh
Search help tags
Git Integration (vim-fugitive)
Action
Key
Description
Git status
<Space>gs
Show git status
Git diff
<Space>gd
Show git diff
Git blame
<Space>gb
Show git blame
Git mergetool
<Space>gm
Open git mergetool
Diagnostics (Neovim LSP Defaults)
Neovim with LSP provides these built-in diagnostic navigation keybindings:
Action
Key
Description
Previous diagnostic
[d
Jump to previous diagnostic
Next diagnostic
]d
Jump to next diagnostic
First diagnostic
[D
Jump to first diagnostic
Last diagnostic
]D
Jump to last diagnostic
Show diagnostic
<C-w>d
Show diagnostic in float
Comments
Action
Key
Description
Toggle comment line
gcc
Neovim built-in comment toggle for current line
Toggle comment selection/range
gc
Neovim built-in comment operator / Visual toggle
Toggle comment alias
\ / <Bslash>
Legacy alias mapped to gcc / gc
Alignment
Action
Key
Description
Align preview
<Space>-
mini.align with preview
Align
<Space>_
mini.align without preview
Language-specific
Action
Key
Description
Run program
<Space>p
Run file (C/C++, Go, JS, Python, Ruby, Shell, Rust)
Check program
<Space>c
Check/compile (C/C++, Rust)
Known Issues / TODO
Neovim Mason can't install clangd on ARM — clangd does not publish prebuilt
binaries for every ARM target. Install clangd from the OS package manager when
Mason fails.
(mason#1578,
clangd#514)
Mouse scroll not smooth: fine in Vim, slow in other pagers — possibly a tmux
interaction.