How do I move the cursor just after each search match instead of at match start?
/pattern/e+1<CR>
Most Vim searches place the cursor at the start of the match.
870 results for "it at"
/pattern/e+1<CR>
Most Vim searches place the cursor at the start of the match.
:split
The :split command (or s) splits the current window horizontally, creating a new window above with the same file.
:set fillchars+=eob:
By default, Vim fills empty lines after the end of a buffer with ~ characters.
set showbreak=↪\
When wrap is enabled, long lines visually wrap to the next screen row.
<C-v>I#<Esc>
Vim's Visual Block mode lets you prepend characters (like comment markers) to multiple lines simultaneously.
:set colorcolumn=80,120
colorcolumn highlights one or more screen columns to serve as a visual ruler.
v2ap
In Vim, text objects accept a count prefix in visual mode, letting you select multiple consecutive text objects in one keystroke.
<C-w>d
Neovim 0.
buffers-windows #diagnostics #lsp #floating-window #neovim #buffers #windows
zA
The zA command toggles the fold under the cursor together with all nested sub-folds in one keystroke.
:setlocal winfixwidth
When you use a sidebar-style split for file trees, docs, or logs, automatic window equalization can constantly resize it.
:set scrolljump=5
When scrolloff is 0 and the cursor moves just past the screen boundary, Vim scrolls by exactly one line, which can feel abrupt during rapid navigation.
:botright copen 8 | wincmd p
Quickfix is powerful, but opening it can disrupt window layout and yank focus away from your current editing context.
:set nofixendofline
By default, Vim enforces POSIX compliance by appending a final newline to any file that lacks one.
zd
zd removes the fold definition at the cursor position — the text inside the fold is not deleted.
:windo diffthis<CR>
If you already have several related files open in splits, enabling diff mode one window at a time is slow and error-prone.
buffers-windows #buffers-windows #diff #windows #ex-commands
/TODO/e
Most users know /pattern, but fewer use search offsets to control where the cursor lands after the match.
d2iw
Text objects in Vim accept a count, letting you operate on a span of multiple adjacent text objects in one command.
:'<,'>norm! A;
The :normal Ex command lets you execute any Normal mode keystrokes on a range of lines simultaneously, turning a single-line operation into a multi-line batch e
editing #editing #normal-mode #ex-commands #visual-mode #text-manipulation
gra
Since Neovim 0.
zO
zO (uppercase O) opens the fold under the cursor and all folds nested inside it recursively.