How do I make Ctrl-O and Ctrl-I behave like browser back and forward in Vim?
By default, Vim's jumplist can feel surprising: if you jump backward and then make a new jump, the old forward path is not always discarded like a browser histo
category:
config
tags:
#config
#navigation
#jumplist
#workflow
#motions
How do I search for text I just yanked using the register?
How it works After yanking text, you can use it directly as a search pattern by inserting the yank register contents into the search prompt.
category:
registers
tags:
#registers
#search
#normal-mode
How do I jump to the next unmatched closing parenthesis?
The ]) command moves forward to the next unmatched ).
category:
navigation
tags:
#navigation
#motions
#normal-mode
How do I convert text to title case (capitalize first letter, lowercase the rest of each word)?
Vim's substitute command supports case-conversion escape sequences in the replacement string.
category:
search
tags:
#search
#editing
#normal-mode
#ex-commands
How do I stop Vim from auto-equalizing split sizes when opening or closing windows?
When you work with carefully sized splits, Vim's default behavior can feel disruptive: opening or closing a window triggers an automatic rebalance.
category:
buffers-windows
tags:
#windows
#buffers
#config
#workflow
How do I make floating windows semi-transparent in Neovim?
Neovim's winblend option controls the pseudo-transparency of floating windows.
category:
config
tags:
#neovim
#config
#ui
#floating-windows
How do I select to the end of each line in visual block mode?
In visual block mode, pressing $ extends the selection to the end of every line, even when lines have different lengths.
category:
visual-mode
tags:
#visual-mode
#editing
#normal-mode
How do the numbered delete registers work and why does deleted text rotate through registers 1 through 9?
Vim maintains a rotating history of deleted text across registers "1 through "9.
category:
registers
tags:
#registers
#editing
#normal-mode
How to navigate between buffers, quickfix entries, and location list items using bracket pairs with vim-unimpaired?
The vim-unimpaired plugin by Tim Pope adds symmetric [ and ] bracket mappings for navigating common Vim lists.
category:
plugins
tags:
#navigation
#buffers
#quickfix
#plugins
#normal-mode
How do I quickly browse the directory of the current file without leaving Vim?
The vim-vinegar plugin by Tim Pope enhances Neovim's built-in netrw file browser.
category:
plugins
tags:
#navigation
#files
#netrw
#plugins
#buffers
How do I reset the jump list to start fresh in the current window?
The :clearjumps command wipes the jump list for the current window, giving you a clean slate for and navigation.
category:
navigation
tags:
#navigation
#jumps
#jump-list
#normal-mode
How do I delete text without overwriting my yank register?
The "d command deletes text using the black hole register ("), which discards the deleted content instead of storing it.
category:
registers
tags:
#registers
#editing
#delete
#normal-mode
How do I edit multiple locations simultaneously like multiple cursors?
<C-n> to select (vim-visual-multi)
vim-visual-multi provides VS Code-style multiple cursor support for Vim.
category:
plugins
tags:
#plugins
#editing
How do I set up oil.nvim to manage files using Vim's full editing power including macros and visual selections?
oil.
category:
plugins
tags:
#plugins
#buffers
#editing
#navigation
How do I quickly switch between the current file and the last file I was editing?
:e # opens the alternate file — the file you were editing just before the current one.
category:
buffers-windows
tags:
#buffers
#editing
#ex-commands
#navigation
How do I view the git commit history for the current file in vim-fugitive?
vim-fugitive's :Gclog command loads the git log into the quickfix list, but when prefixed with the range 0 it restricts the history to only the commits that tou
category:
plugins
tags:
#plugins
#git
#fugitive
#quickfix
#buffers
How do I use Neovim's built-in default LSP keymaps for rename, references, and code actions?
Neovim 0.
category:
plugins
tags:
#navigation
#completion
How do I create and auto-format Markdown or textile tables in Vim?
The vim-table-mode plugin by Dhruva Sagar turns Vim into a powerful table editor that automatically formats and aligns table columns as you type.
category:
plugins
tags:
#plugins
#table-mode
#markdown
#formatting
#editing
How do I move by display lines when long lines wrap?
The gj command moves the cursor down by one display line rather than one physical line.
category:
navigation
tags:
#navigation
#motions
#normal-mode
How do I insert the contents of another file into the current buffer?
The :r filename command reads the contents of filename and inserts them into the current buffer below the cursor line.
category:
command-line
tags:
#ex-commands
#editing
#buffers