1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-07-22 03:40:34 +00:00

Merge pull request #354 from RomjanHossain/patch-1

swap current line with previous
This commit is contained in:
Julien Le Coupanec 2023-12-29 15:35:14 +01:00 committed by GitHub
commit d143c60246
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@ gu$ make lowercase until end of line
<< indent line one column to left
== auto-indent current line
ddp swap current line with next
ddkp swap current line with previous
ddkP swap current line with previous
:%retab fix spaces / tabs issues in whole file
:r [name] insert the file [name] below the cursor.
:r !{cmd} execute {cmd} and insert its standard output below the cursor.