https://vimtricks.wiki/posts/split-window-horizontally
How do I split the Vim window to view two files at once? | VimTricks
The :split command (or s) splits the current window horizontally, creating a new window above with the same file.
how do i
https://vimtricks.wiki/posts/uppercase-word-with-cursor-restore
How do I uppercase a word and then jump back to my exact original cursor position? | VimTricks
When you run an operator like gUiw, Vim can leave your cursor in a slightly different place than where you started.
https://vimtricks.wiki/tag/editing?page=8
Tag: editing | VimTricks
Vim tricks tagged editing - browse tips and commands.
tageditingvimtricks
https://vimtricks.wiki/tag/windows?page=2
Tag: windows | VimTricks
Vim tricks tagged windows - browse tips and commands.
tagwindowsvimtricks
https://vimtricks.wiki/posts/filename-modifiers-command-line
How do I open a related file with a different extension using the current filename? | VimTricks
In Vim's command line, % expands to the current buffer's filename.
https://vimtricks.wiki/posts/macro-convert-spaces-to-underscores
How do you use a macro to convert spaces in words to underscores? | VimTricks
Record a macro that finds the next space with f and replaces it with an underscore using r_.
how do you
https://vimtricks.wiki/posts/copy-named-register-into-clipboard
How do I copy a named register into the system clipboard without yanking again? | VimTricks
If you already have carefully collected text in a named register, re-yanking just to reach the system clipboard is noisy and error-prone.
https://vimtricks.wiki/tag/numbers
Tag: numbers | VimTricks
Vim tricks tagged numbers - browse tips and commands.
tagnumbersvimtricks
https://vimtricks.wiki/tag/whitespace
Tag: whitespace | VimTricks
Vim tricks tagged whitespace - browse tips and commands.
tagwhitespacevimtricks
https://vimtricks.wiki/posts/center-after-search-nzz
How do I jump to the next search match and keep it centered on the screen? | VimTricks
Typing nzz chains two normal-mode commands: n jumps to the next match of the last search, and zz immediately redraws the screen so the cursor line is vertically
https://vimtricks.wiki/posts/configure-statusline
How do I customize the status line at the bottom of the screen? | VimTricks
The statusline option controls what information is shown in the status bar at the bottom of each window.
how do istatus line
https://vimtricks.wiki/tag/command-line?page=5
Tag: command-line | VimTricks
Vim tricks tagged command-line - browse tips and commands.
command linetagvimtricks
https://vimtricks.wiki/posts/dispatch-async-builds
How do I run builds and tests asynchronously without blocking Vim? | VimTricks
The vim-dispatch plugin by Tim Pope provides asynchronous build and command execution so you can run compilers, test suites, and other long-running commands wit
how do i
https://vimtricks.wiki/posts/case-insensitive-search
How do I search case-insensitively in Vim without changing global settings? | VimTricks
How it works By default, Vim searches are case-sensitive: /Hello will not match hello or HELLO.
how do i
https://vimtricks.wiki/posts/debug-macro-step-by-step
How do I debug a Vim macro one command at a time? | VimTricks
Recorded macros are powerful, but when one keystroke goes wrong they can fail fast and leave confusing state behind.
how do i
https://vimtricks.wiki/posts/delete-inner-word
How do I delete a word under the cursor? | VimTricks
The diw command deletes the inner word under the cursor.
how do ia worddeletecursorvimtricks
https://vimtricks.wiki/posts/register-paste-in-visual-mode
How do you paste from a register while in visual mode? | VimTricks
In visual mode, "ap replaces the selected text with the contents of register a.
how do youfrom a
https://vimtricks.wiki/posts/set-filetype-specific-options
How do I set options that only apply to certain file types? | VimTricks
Using autocmd FileType with setlocal, you can configure settings that only apply when editing files of a specific type.
how do i
https://vimtricks.wiki/tag/review
Tag: review | VimTricks
Vim tricks tagged review - browse tips and commands.
tagreviewvimtricks
https://vimtricks.wiki/posts/global-delete-range-between-patterns
How do I delete all blocks of text between two patterns throughout a file? | VimTricks
The :g (global) command can operate on ranges, not just single lines.
https://vimtricks.wiki/posts/mousemodel-extend-right-click-selection
How do I make right-click extend a selection instead of opening a popup menu? | VimTricks
If you use the mouse occasionally in Vim, mousemodel=extend makes selection behavior much more predictable.
https://vimtricks.wiki/tag/editing
Tag: editing | VimTricks
Vim tricks tagged editing - browse tips and commands.
tageditingvimtricks
https://vimtricks.wiki/tag/operators
Tag: operators | VimTricks
Vim tricks tagged operators - browse tips and commands.
tagoperatorsvimtricks
https://vimtricks.wiki/posts/trim-whitespace-without-touching-jumps-marks
How do I trim trailing whitespace while preserving marks, jumplist, and search state? | VimTricks
Bulk cleanup commands are easy to automate, but many implementations quietly damage editor state by moving marks, polluting the jumplist, or replacing your last
how do i
https://vimtricks.wiki/posts/set-color-column
How do I display a vertical line at a specific column width? | VimTricks
The :set colorcolumn=80 command displays a vertical highlight at column 80, giving you a visual guide for line length.
how do idisplay a