How do I resize Vim windows to exact dimensions?
:resize N / :vertical resize N
The :resize and :vertical resize commands set a window to an exact number of lines or columns.
1029 results for "i" a""
:resize N / :vertical resize N
The :resize and :vertical resize commands set a window to an exact number of lines or columns.
:Telescope live_grep
Telescope's livegrep picker provides real-time regex search across your entire project as you type.
:syntax on
The :syntax on command enables syntax highlighting in Vim, colorizing your code based on the file type.
V
The V (uppercase) command enters visual line mode, which selects the entire current line.
<C-w>c
The c (Ctrl+w then c) command closes the current window without closing the buffer it contains.
:set backupdir=~/.vim/backup// directory=~/.vim/swap//
How it works By default, Vim creates backup files (ending in ~) and swap files (ending in .
:profile
When Vim feels sluggish to start, the built-in :profile command lets you measure exactly how much time each script, function, or plugin takes to load.
gd / gr / <leader>rn with nvim-lspconfig
The Language Server Protocol (LSP) brings IDE-level intelligence to Neovim — go-to-definition, find references, rename symbol, and more.
:set relativenumber
The :set relativenumber command displays line numbers relative to the cursor position instead of absolute line numbers.