From f0621c3194ae7a0d3759551aa1544c0b2f18b3b7 Mon Sep 17 00:00:00 2001 From: Hizenberg469 Date: Thu, 7 Aug 2025 20:14:14 +0300 Subject: [PATCH] Inserting, Replacing, Changing and Jumping done --- .inserting.txt.swo | Bin 0 -> 12288 bytes vim-commands | 83 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 .inserting.txt.swo diff --git a/.inserting.txt.swo b/.inserting.txt.swo new file mode 100644 index 0000000000000000000000000000000000000000..4dc4b8eafa3839eee08c2663a827c33c0fe03275 GIT binary patch literal 12288 zcmeI2OKcQ37{{GlP(`67+?$U?s5~dTn?wSnwu)$^LK6ic0hh};<~18jf|umLu(2n|SlQUAvWLX?(b^7#J$>Hq&XJ`&<~18jf|EEWU1 zB5ld#Qm6P~YH_ikh0vSjrm1VHM%6Y==(I7rs}nvJ%9={rL1>ad2;`+RG~B5xow_W< za4=FH-RuJth0;+NNvmoBk#9&$!z#*Uit86c$UP0f?I&ejAp`Rni({HFEtQA34|)>c zGcnZ~-%0Uv&68tak3UP8&a#CGjVv3_3GegGeza%vTQK;$brrLXb*iXllubW%R8_Ho zq)6pzRoB&qGAC(CJF*#!*GwxdCSqN#lq)R1G|9Kj!3HC>aKB(}ei!=W>v~@y#V7vv zu5H+)rlN-Rr=_VAcqo^Gayckhf;W8Hnk(rPjgWVWQybwhRn?46sij>+1M~M8fT+Rw zS0`=sRcV6=U-v&3(HT@0gOWLjU3Dtgwr-0<(Apxz9zTDa=V4k;ml@_P$^SY&=+YvRHl;FAey!W3HEAHeQgLiH(90c2SH&bFg+B{Oh&3K=|M(fa Tc{#-p&&AB01w^LCb&dWPk}2Bm literal 0 HcmV?d00001 diff --git a/vim-commands b/vim-commands index 6421c26..3eb9bbd 100644 --- a/vim-commands +++ b/vim-commands @@ -225,4 +225,87 @@ Line mode: It puts the mode in insert mode and put the cursor above the line where the current cursor is present. + * Replacing (Replace Mode): + + @ Command :- Shift + r or CAPS + r (Capital r) + + What does it do? + + It pust the mode in replace mode. In replace mode, wherever + the cursor is present, it will start to replace each character + as we type and the previous character will be over-written by the + new character. + + * Changing (Changing Mode): + + @ Command :- + c + + + What does it do? + + It delete the series of bytes, based on the word-motion given, + and put the mode in INSERT mode. can be any + type of word motion that we have learnt. Here, + can be used to put the deleted or "replaced" word into the register + which we use to store as intended. + + For example: + + "a + c + w + + It will store the word into register "a which is replaced by using + command c + w. + + @ Command :- Shift + c or CAPS + c (capital + c) + + What does it do? + + Replace the sequence of characters from current cursor position is present at till end + of the line. + + @ Command :- cc + Replace the entire current line where the cursor is present. + + @ Command :- ~ + + What does it do? + + Switch over the case of the character where the current is present. + + @ Command :- g + ~ + + + What does it do? + + Switch over the cases of the each character based on the motion command + range. + + @ Command :- g + U + + + What does it do? + + Changes the entire case of each character to upper-case based on the motion command + range. + + @ Command :- g + u + + + What does it do? + + Changes the entire case of each character to lower-case based on the + motion comand range. + + -> Joining: + + @ Command :- Shift + j or CAPS + j (Capital + j) + + What does it do? + + Joins the line below the current line where the cursor is present + to single line and add a space to it or add a double space if there + is a period at the end of the current line. + + @ Command :- g + J + + + What does it do? + + Do the same thing as "J" command. Only difference is that it doesn't + add any space between joining lines.