machete

nvim cheatsheet

58 of 58 entries

Save file (normal/insert/visual)

nix<C-s>

Save file

nSpacew

Quit window

nSpaceq

Clear search highlight

nEsc

Previous buffer

n<S-h>

Next buffer

n<S-l>

Delete buffer

nSpacebd

Pin / unpin buffer

nSpacebp

Find files

n<C-p>Spaceff

Command palette (leader then space)

nSpaceSpace

Grep / search project

nSpace/

File explorer

nSpacee

Find open buffers

nSpacefb

Recent files

nSpacefr

Help pages

nSpacefh

Browse keymaps

nSpacefk

Jump history

nSpacefj

Project diagnostics

nSpacedl

Go to definition

ngd

Find references

ngr

Find implementations

ngI

Go to type definition

ngy

Hover documentation

nK

Rename symbol

nSpacecr<F2>

Rename symbol (native)

ngrn

Code action

nxSpaceca

Code action (native)

nxgra

Document symbols

nSpacecs

Next change / hunk

n]c

Previous change / hunk

n[c

Stage / unstage hunk

nSpacegs

Reset hunk

nSpacegr

Preview hunk

nSpacegp

Blame line

nSpacegb

Open Diffview (repo diff)

nSpacegd

File history (Diffview)

nSpacegh

Repository history (Diffview)

nSpacegH

Close Diffview

nSpacegq

Format buffer / selection

nxSpacecf

Line diagnostics (float)

nSpacedd

Diagnostics to quickfix

nSpacedq

Next diagnostic

n]d

Previous diagnostic

n[d

Show completion menu + docs

i<C-space>

Accept selected item

iEnter

Hide completion menu

i<C-e>

Select next item

i<C-n>

Select previous item

i<C-p>

Toggle signature help

i<C-k>

Jump to next snippet placeholder

iTab

Jump to previous snippet placeholder

iS-Tab

Scroll documentation up

i<C-b>

Scroll documentation down

i<C-f>

Manage LSP servers / tools

:Mason

LSP client status

:LspInfo

Formatter status

:ConformInfo

Update treesitter parsers

:TSUpdate

Run health checks

:checkhealth