How do I copy the entire current line to the system clipboard?
"+yy
The "+yy command yanks the current line directly to the system clipboard register, making it available for pasting in other applications.
216 results for "= motion"
"+yy
The "+yy command yanks the current line directly to the system clipboard register, making it available for pasting in other applications.
zf (in visual mode)
In visual mode, pressing zf creates a manual fold from the selected lines.
y$
The y$ command yanks (copies) text from the cursor position to the end of the line.
ge
The ge motion moves the cursor backward to the end of the previous word.
}
The } motion moves the cursor forward to the next blank line, effectively jumping to the next paragraph.
ce
The ce command changes from the cursor position to the end of the current word.
)
The ) motion moves the cursor to the beginning of the next sentence.
vim-repeat
The vim-repeat plugin by Tim Pope extends Vim's built-in .
plugins #plugins #repeat #dot-command #workflow #normal-mode
C
The C command deletes everything from the cursor position to the end of the line and places you in insert mode.
d2i(
Vim text objects accept a count prefix that lets you target outer layers of nested delimiters.
guiw
The guiw command converts the entire word under the cursor to lowercase.
f{vi{U
When editing structured text, you often need to transform content inside delimiters without touching the delimiters themselves.
D
The D command deletes everything from the cursor position to the end of the current line.
"=strftime('%F')<CR>p
The expression register lets you compute text on demand and insert it without leaving Normal mode workflows.
registers #registers #expression-register #normal-mode #automation
]]
The ]] motion jumps forward to the next line that starts with { in the first column, which is typically the beginning of a C-style function or section.
:s/\%#\k\+/REPL/
Most substitutions operate on broad ranges, but sometimes you want a precise edit anchored to where your cursor is right now.
g?iw
g? is Vim’s built-in ROT13 operator.
g~ap
g~ap is a fast way to invert letter case across a full paragraph without entering Visual mode.
editing #editing #operators #text-objects #case #normal-mode
qagUiwWq2@a
Macros are most powerful when they encode both the edit and the movement to the next target.
qa...@aq
A recursive macro calls itself at the end of its recording, causing it to repeat until a motion or search fails.