LazyVim/Keyshort/Terminal
- Keyshort LazyVim LazyVim/Keyshort
- Open or Hide the Terminal Split Card
- Shortcut:
<C-/> - Description: Opens a terminal in a split across the bottom of the editor, rooted at the project root, and focuses back out of it from inside — the same key works in normal and terminal mode.
<C-_> is bound identically for terminals that send that byte instead.
- Open a Terminal at the Working Directory Card
- Shortcut:
<leader>fT - Description: A terminal in the same bottom split, rooted at nvim's current working directory.
<leader>ft uses the project root instead, matching <C-/>.
- My Note
- Ghostty and some other terminals send
<C-_> rather than <C-/>; both are mapped, so the key works either way. - This is a nvim/Plugin/snacks.nvim terminal, so it reuses one persistent shell per root rather than spawning a new one each time.
- LazyVim/Tutorial/Work with the Terminal walks these keys through opening, hiding, closing, running more than one, and filling the editor area.