You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.3 KiB
1.3 KiB
Cheats
Motions
cgnchange word under cursor, then.to repeat on next matchgccomment motion (e.g.gc3j,gcap)gcctoggle comment on current line
fzf
<leader>ffind files<leader>glive grep<leader>bbuffers<leader>oold files<leader>sgrep word under cursor across project
Terminal
<C-t>toggle terminal<C-\><C-n>exit terminal mode (back to normal mode)
Oil
-open oil (current file's directory)<leader>-go to cwd root-go up a directory (inside oil)<CR>open file/directoryg.toggle hidden files
Clipboard
<leader>yyank to system clipboard (normal/visual)<leader>ppaste from system clipboard
General
<leader>hclear search highlight:Cheatsopen this file
System Dependencies
fzffuzzy finder binary (required by fzf-lua)rgripgrep — required for live grep and grep word (<leader>g,<leader>s)fdfaster file finding (optional, fzf-lua uses it automatically if present)wl-clipboard/xclipsystem clipboard on Linux (Wayland / X11)
Arch: sudo pacman -S fzf ripgrep fd wl-clipboard
macOS: brew install fzf ripgrep fd