Files
dotfiles/nvim/.config/nvim
2026-06-22 00:53:07 +02:00
..
2026-06-22 00:53:07 +02:00
2026-06-03 18:06:49 +02:00
2026-06-21 23:37:15 +02:00
2026-06-21 23:15:03 +02:00

Neovim Notes

Splits

Horizontal split:

:sp

Vertical split:

:vs

Open a file in a horizontal split:

:sp path/to/file

Open a file in a vertical split:

:vs path/to/file

Window Navigation

Move between windows with:

<C-w>h/j/k/l

Cycle through windows:

<C-w>w

Terminal

Open a terminal in the current window:

:term

Open a terminal in a horizontal split:

:sp | term

Open a terminal in a vertical split:

:vs | term

Leave terminal mode and return to normal mode:

<Esc>

Tree-sitter

Tree-sitter is managed with nvim-treesitter via vim.pack.

Installing missing parsers requires the external tools from the upstream README:

  • tar
  • curl
  • tree-sitter-cli
  • a C compiler

If tree-sitter is on your PATH, startup will try to install the configured parsers if they are missing.

Useful commands:

:TSUpdate
:TSInstall lua bash json
:TSInstallInfo
:InspectTree
:checkhealth vim.treesitter