From e9046faa143f421c6d4efc7bd054cc2f0af9472d Mon Sep 17 00:00:00 2001 From: Nitheesh Date: Sun, 3 Dec 2023 01:22:15 +0530 Subject: [PATCH] fix: vim swap current line with previous --- tools/vim.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/vim.txt b/tools/vim.txt index 00c25c5a..9c5be1ae 100644 --- a/tools/vim.txt +++ b/tools/vim.txt @@ -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.