# Neovim Keybindings ## Leader Key - Leader key is set to `` (スペースキー) ## (Space) Keybindings ### AI/Claude Code (`a`) - `a` - AI/Claude Code prefix - `ac` - Toggle Claude - `af` - Focus Claude - `ar` - Resume Claude - `aC` - Continue Claude - `ab` - Add current buffer - `as` - Send to Claude (visual mode) / Add file (in file tree) - `aa` - Accept diff - `ad` - Deny diff ### Code Actions (`ca`) - `ca` - Code actions (normal and visual mode) ### LSP Workspace - `wa` - Add workspace folder - `wr` - Remove workspace folder - `wl` - List workspace folders - `D` - Type definition - `e` - Show line diagnostics - `q` - Set loclist ### Telescope - `ff` - Fuzzy find files in cwd - `g` - Live grep - `b` - Buffers - `gs` - Git status - `gc` - Git commits ### TreeSJ (Split/Join) - `m` - Toggle split/join ## Other Important Keybindings ### General - `` - Quit without saving ### Buffer Navigation - `,` - Previous buffer - `.` - Next buffer ### Tab Navigation - `tl` - Next tab - `th` - Previous tab - `` - New tab ### Window Navigation - `` - Move to left window - `` - Move to bottom window - `` - Move to top window - `` - Move to right window ### Terminal Mode - `` - Exit terminal mode to normal mode - `` - Exit terminal - `` - Exit terminal mode to normal mode - `T` - Toggle FTerm ### LSP Navigation - `gD` - Go to declaration - `gd` - Go to definition - `gvd` - Go to definition in vertical split - `gsd` - Go to definition in horizontal split - `gi` - Go to implementation - `gr` - Go to references - `gt` - Go to type definition - `gn` - Rename - `gf` - Format - `ge` - Open float diagnostic - `` - Signature help - `[d` - Previous diagnostic - `]d` - Next diagnostic ### File Explorer (Oil) - `-` - Open parent directory (Oil) - `g?` - Show help (in Oil) - `` - Select - `` - Select in vertical split - `` - Select in horizontal split - `` - Select in new tab - `` - Preview - `` - Close - `` - Refresh - `_` - Open cwd - `` ` `` - cd to directory - `~` - tcd to directory - `gs` - Change sort - `gx` - Open external - `g.` - Toggle hidden files - `g\` - Toggle trash ### Search (Pounce) - `s` - Pounce search ### Treesitter - `` - Init/increment selection - `` - Decrement selection ### Copilot - `` - Accept Copilot suggestion (insert mode) - `` - Dismiss Copilot suggestion (insert mode) ### Custom Scripts - `got` - Run Go test ### User Commands - `:Sterm` - Split terminal (horizontal) - `:Vterm` - Vertical split terminal