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
Make sure your terminal uses JetBrains Mono Nerd Font Mono (required for icons; covers both ASCII and CJK). Recommended: set up your terminal first with my dotfiles — https://github.com/specode/dotfiles
Clone the project and create a symlink to /Users/{your user}/.config/nvim/
Open lua/config/lang.lua in nvim config directory to configure development languages
Install lsp-server via :Mason
Install ripgrep for global search: brew install ripgrep
Install tree-sitter CLI for AST compilation support: npm install -g tree-sitter-cli (or via Homebrew: brew install tree-sitter-cli)
Keybindings Reference
Basic Operations
Keybinding
Function
,
Leader key
Y
Yank from current position to end of line
gb
Go back to previous position (<C-o>)
<leader>e
Show diagnostic float window
Window & Tab Management
Keybinding
Function
<C-t>
Open new tab
<S-H>
Switch to previous tab
<S-L>
Switch to next tab
<C-h>
Switch to left window
<C-j>
Switch to bottom window
<C-k>
Switch to top window
<C-l>
Switch to right window
Quick Motion (Leap)
Keybinding
Function
s
Leap (quick jump in normal/visual/operator mode)
S
Leap from other windows
File Explorer (nvim-tree)
Keybinding
Function
<C-e>
Toggle file tree
,nf
Locate current file in file tree
<CR>
Open file/directory
h
Close directory
v
Open file in vertical split
s
Open file in horizontal split
t
Open file in new tab
a
Create file/directory
d
Delete file/directory
r
Rename file/directory
x
Cut file/directory
c
Copy file/directory
p
Paste file/directory
R
Refresh file tree
?
Show help
Search (Telescope)
Keybinding
Function
<C-p>
Find files
<C-g>
Global text search
,fb
Find buffer
,fh
Find help tags
,fd
Find diagnostics
Code Navigation (LSP)
Keybinding
Function
gd
Go to definition
,dt
Open definition in new tab
,dv
Open definition in vertical split
gr
Find references
gi
Find implementations
K
Show hover documentation
,rn
Rename symbol
,ca
Code actions
[d
Go to previous diagnostic
]d
Go to next diagnostic
,f
Format code
Code Commenting (Built-in)
Keybinding
Function
//
Toggle line comment
/b
Toggle block comment
Git Operations (Gitsigns)
Keybinding
Function
]c
Go to next hunk
[c
Go to previous hunk
,hs
Stage current hunk
,hr
Reset current hunk
,hS
Stage entire buffer
,hu
Undo stage current hunk
,hR
Reset entire buffer
,hp
Preview current hunk
,hb
Show blame info for current line
,tb
Toggle blame info for current line
,hd
Show diff for current file
,td
Toggle deleted lines
Git Diff View (Diffview)
Keybinding
Function
,gd
Open working tree diff view
,gD
Open staged diff view
,gh
Show current file history
,gH
Show repository history
,gq
Close diff view
Markdown Preview
Keybinding
Function
,md
Toggle Markdown preview in browser (includes Mermaid)