How do I briefly highlight text after yanking it to get visual confirmation of what was copied?
The TextYankPost event fires immediately after any yank operation completes — including y, Y, dd, dw, and any other command that writes to a register.
category:
config
tags:
#config
#autocommands
#registers
#visual-mode
How do I create a self-repeating macro that runs until there is nothing left to process?
@q (inside macro recording)
A recursive macro calls itself as its last action, causing it to repeat indefinitely until it hits an error (like reaching end of file or failing a search).
category:
macros
tags:
#macros
#registers
#normal-mode
#editing
How do I edit an existing macro without re-recording it from scratch?
When a recorded macro contains a typo or needs a small tweak, you can modify it directly via the :let command rather than re-recording the entire sequence.
category:
macros
tags:
#macros
#registers
#editing
#normal-mode
How do I manage files and directories as a regular Vim buffer?
oil.nvim: edit directory listing like a buffer
oil.
category:
plugins
tags:
#plugins
#file-management
#neovim
#oil
#workflow
How do I use Harpoon to bookmark project files and jump between them instantly?
:lua require('harpoon.mark').add_file()
Harpoon by ThePrimeagen is a Neovim plugin that maintains a small, numbered list of the files you're actively working on.
category:
plugins
tags:
#navigation
#buffers
#marks
#plugins
How do I stage and unstage Git files without leaving Vim?
The vim-fugitive plugin by Tim Pope provides an interactive Git status window that lets you stage, unstage, diff, and commit files entirely from within Vim.
category:
plugins
tags:
#plugins
#fugitive
#git
#staging
#workflow
How do I edit and reuse previous Ex commands in a full editing buffer?
The command-line window is a special buffer that shows your entire Ex command history and lets you edit entries using the full power of Vim's normal mode before
category:
command-line
tags:
#command-line
#ex-commands
#history
#editing
#productivity
How do I execute a single normal mode command without leaving insert mode?
Pressing in insert mode lets you execute one normal mode command and then automatically returns you to insert mode.
category:
editing
tags:
#editing
#insert-mode
#normal-mode
#productivity
How do I open a file explorer sidebar in Vim with NERDTree?
The NERDTree plugin provides a full-featured file explorer sidebar in Vim, giving you a visual directory tree that you can navigate, search, and manipulate file
category:
plugins
tags:
#plugins
#nerdtree
#files
#navigation
#explorer