How do I jump to a tag definition using the tag stack?
<C-]>
The command jumps to the definition of the keyword under the cursor using tag files.
2277 results for "@a"
<C-]>
The command jumps to the definition of the keyword under the cursor using tag files.
:setlocal iskeyword+=-
The iskeyword option defines which characters are part of a "word" for motions like w, b, e, , and text objects like iw.
*NgUgn
gn is often treated as a visual selection command, but it is more powerful when used as a motion target for operators.
:g/^/t.
The command :g/^/t.
:let @q = substitute(@q, 'old', 'new', '')
Vim macros are stored as plain text in named registers, which means you can inspect and modify them directly using :let and :echo.
:lvimgrep /TODO/j **/* | lopen\<CR>
When you are working in multiple windows, quickfix can become noisy because it is shared globally across the editor session.
:options
:options opens a special Vim buffer that lists every available option, grouped by category (appearance, editing, search, etc.
U
In visual mode, pressing U converts all selected characters to uppercase and u converts them to lowercase.
<C-w>T
The T (Ctrl+w then Shift+t) command moves the current split window into a new tab page.
buffers-windows #buffers-windows #windows #tabs #normal-mode
:set winfixwidth winfixheight
How it works When you open new split windows in Vim, the existing windows automatically resize to make room.
grr
Since Neovim 0.
/pattern1/;/pattern2/
Vim's search offsets allow chaining two patterns together with a semicolon.
:Lexplore
:Lexplore opens Vim's built-in netrw file explorer as a persistent sidebar anchored to the left of the screen.
buffers-windows #netrw #file-explorer #buffers #windows #navigation
das
Vim defines a sentence as text ending with .
editing #editing #text-objects #delete #normal-mode #motions
/\_.pattern
The \.
:tab sbuffer
Sometimes you want a second workspace for the same file: one tab for broad navigation, another for focused edits or test-driven jumps.
buffers-windows #buffers-windows #tabs #workflow #navigation
:let @q = substitute(@q, 'foo', 'bar', 'g')
Recorded macros are plain text stored in registers, which means you can refactor them instead of re-recording from scratch.
:<C-r>"
When typing an Ex command or search pattern, you often need to insert text you've already yanked or deleted.
/colour\%[s]
Vim's \%[.
:source %
The :source command reads and executes a Vimscript file.