1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-23 05:12:13 +00:00

swap current line with previous

it should be `ddkP` instead of `ddkp`
This commit is contained in:
Romjan D. Hossain 2023-12-24 11:53:04 +06:00 committed by GitHub
parent d63d75bb28
commit 44371217a9
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.