How do I redisplay the output from the last Ex command that already scrolled away?
g<
Pressing g or q to dismiss it again Example Tips :messages also shows recent messages (and those accumulate across the session), while g< only shows the last pa
351 results for "registers"
g<
Pressing g or q to dismiss it again Example Tips :messages also shows recent messages (and those accumulate across the session), while g< only shows the last pa
:m +1
The :move command (abbreviated :m) relocates lines to a new position in the buffer without touching any registers.
:t {address}
How it works The :t command (short for :copy) copies one or more lines and places them below the specified address.
:m {address}
How it works The :m command (short for :move) moves one or more lines to after the specified address.
<C-f> (from command-line mode)
When you are partway through typing a long or complex Ex command on the : prompt, you can press to open the command-line window.
:10,20t30
The :t command (short for :copy) duplicates lines from one location to another without touching any registers.
command-line #editing #ex-commands #lines #productivity #ranges
:helpgrep
:helpgrep {pattern} searches all installed Vim help files for a pattern and populates the quickfix list with every match.
:filter /pattern/ command
The :filter command restricts the output of another Ex command to only lines matching a given pattern.
:.t$
The Ex command :.
cx{motion} … cx{motion} (vim-exchange)
The vim-exchange plugin provides cx{motion} to mark a region, then cx{motion} again on a second region to swap them in place.
<C-f> (command-line mode)
Pressing while in the command-line (:, /, or ? prompt) opens the command-line window with your partially-typed command already loaded and ready for full Vim edi
command-line #command-line #ex-commands #editing #navigation
vim.lsp.config()
Neovim 0.
<C-w>N
When using Vim's built-in :terminal, the buffer is in Terminal-Job mode by default, meaning all keystrokes go to the running shell.
vim.lsp.enable()
Neovim 0.
:let @q then use in nnoremap
Macros are stored in registers as plain keystroke strings.
iabbrev
:iabbrev defines insert-mode abbreviations that expand automatically when you type a non-keyword character (space, punctuation, ) after the abbreviation.
:'<,'>normal {command}
After making a visual selection, :'normal {command} runs any normal-mode command on each selected line individually.
<C-w>n
n creates a new empty buffer and opens it in a horizontal split above the current window.
grn, gra, grr, gri
Starting with Neovim 0.
:tab {cmd}
Most commands that open a new window (:help, :split, :new, :terminal) open a horizontal split by default.