LazyVim/Keyshort/Window/Split
- Keyshort LazyVim LazyVim/Keyshort LazyVim/Keyshort/Window
- Split Window Right (vertical) Card
- Shortcut:
<leader>| - Description: LazyVim's alias for
<C-w>v. The | glyph mirrors the resulting vertical divider.
- Split Window Below (horizontal) (1. Lazy-Vim specific, 2. Native Vim) Card
- Description: LazyVim's alias for
<C-w>s. The - glyph mirrors the resulting horizontal divider. - 1. Native LazyVim Shortcut:
<leader>-
- Move Focus Between Splits (lazyvim-specific keyshorts) Card
- Shortcut:
<C-h> <C-j> <C-k> <C-l> - Description: Jumps focus left/down/up/right without the
<C-w> prefix. The vanilla <C-w>h/j/k/l still works and is what these remap to.
- Close Current Split with 1. LazyVim keyshort, 2.) vanilla vim Card
- 1. LazyVim Shortcut:
<leader>wd- Mnemonic:
w is the split leader, and d is for delete.
- 2. Vanilla Vim shortcut:
<C-w>c- Mnemonic:
<C-w> is the leader for all split items, and c is for close.
- Description: Closes the focused window, leaving the buffer loaded.
- My Question: what does it really mean to close the focused window, leaving the buffer loaded, and why would I want to do that?
- Hypothesis I suppose it probably means that I can list my nvim buffers and easily get back to it. I remember there's a set of keyboard shortcuts for navigating buffers in a stack, but I don't remember what they are.
- Resize Split Card
- Shortcut:
<C-Up> <C-Down> <C-Left> <C-Right> - Description: Grows/shrinks the focused window by arrow direction. Vanilla equivalents:
<C-w>+ / <C-w>- / <C-w>< / <C-w>>.
- My Note