commit 7019da06d7638892f7308a55902ad5fb359e0cc4
parent e5fb62b7e020c8a76106badcdf06cb1d7bc7a207
Author: breadcat <breadcat@users.noreply.github.com>
Date: Fri, 10 Mar 2023 18:05:52 +0000
Update vim sheet
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/content/posts/personal-vim-cheatsheet.md b/content/posts/personal-vim-cheatsheet.md
@@ -1,7 +1,7 @@
---
title: "Personal VIM cheatsheet"
date: 2020-06-14T12:58:00
-lastmod: 2021-02-11T11:23:00
+lastmod: 2023-03-10T18:05:00
tags : [ "Guides", "Learning", "Linux", "Servers", "Snippets", "Software", ]
---
@@ -95,6 +95,7 @@ z= correct misspelled word when highlighted
]s jumps to next misspelled word
p put/paste previously deleted lines
+P put/paste at current cursor, instead of after
5p paste, 5 times
x delete character under cursor
@@ -142,3 +143,4 @@ Another point worth adding is sometimes files formatted outside vim will contain
* **Edit 2020-12-02:** Added notes regarding reading file contents and command output.
* **Edit 2021-01-02:** Added null character removal note.
* **Edit 2021-02-11:** Added additional line break removal note.
+* **Edit 2023-03-10:** Add P/paste at position line