dd
ctrl + c
dd deletes the current line, but places it in a buffer, so you can easily paste it somewhere else |
Related
More of Vim
- How to select all content
- How to switch to top split window
- Switch to next tab
- How to enable line wrapping
- How to indent block forward (right)
- How to indent block backward (left)
- How to enable autoindent
- How to open new file from command line in vim
- How to duplicate line
- How to select word
See more codes...