From 7019da06d7638892f7308a55902ad5fb359e0cc4 Mon Sep 17 00:00:00 2001 From: breadcat Date: Fri, 10 Mar 2023 18:05:52 +0000 Subject: Update vim sheet --- content/posts/personal-vim-cheatsheet.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'content') diff --git a/content/posts/personal-vim-cheatsheet.md b/content/posts/personal-vim-cheatsheet.md index 2df7645..c52bf2c 100644 --- 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 -- cgit v1.2.3