From 3f067bd02904ae8ec07e42b25a373654c1835073 Mon Sep 17 00:00:00 2001 From: Hizenberg469 Date: Fri, 22 Aug 2025 19:25:59 +0300 Subject: [PATCH] Transforming and Substituting Text Complete --- .searching.txt.swo | Bin 0 -> 12288 bytes vim-commands | 55 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 .searching.txt.swo diff --git a/.searching.txt.swo b/.searching.txt.swo new file mode 100644 index 0000000000000000000000000000000000000000..db7f0a0abced1765a77994f37a266908a55060e6 GIT binary patch literal 12288 zcmeHNJC7Vi5N;E3fB_v6BuKPzK)~&+c}XDI!P#f~4$cpJ4`ULmXQpA)vJYSb%z)3564s;{bAI$h_db~i4` zH?mU#zbA$G_?eID*>lUHe_9CdT;%D0`@KffQ<=%4Zs^rn8?wT0u#0S%UHS|Np(e|G#-ch_8XqfKP!5 z@GNlmaUs3}0__Z=Yp5(9~W#6V&oF_0KY3_QpTY}Y!- z=#{p34k^)Zy_@NhN}2a^Q`>HT`(SakP$e~eR=6e;;?nBI=FO|C+v{h>Gv&vjbm(>9W~%4D>!n$}QeDIUnKU4iuFGe=1*os`=($)lEJ z>7dxcmXmVR70SrM*@>A;LbbB9mAXk32( z@$b@<ea>no6xmEXW%(ijibb#!#7w z>&h5JXRZuO&+&j&n_kXqZAi|YEy;8I<~4beEQ>W2GO??R;nC|0LC(nca;Epmj*NzB ze8`OU2V-_@0X;j7@(}E-jyMAiZ0-VKrpZ0*V1?V{y@pV9Zi(`V_d0C`?dZhCh&jQin3_HlS5;>q*6PYoM4l^Kz|Gd{s?wom zi7Q5fCCIqBk*=UE*yv97%5VDUq1Su1o130%9DCLQuG6Bo%x-<51?rM;R=NLDV-k-i*7pdTd}9Abe~h76`NvF5r88%tLKGm=QhmJ^lJ zu2jv6ETMVI8cOXWR~u4K4lE2CGI37Dnhh!7M`6?)ZlgMJNg?1X1KESC$O{L*&Qh!) zoG&cRmFF_&pyjHkas>;xclo&7!2}CtF}3&n#wv32j6JfAe@j6`y%0*17>i)t9i h=k`N>P2Pti{)0@)RTJC_F23A@4NeIJF$64#zW^FugV6v0 literal 0 HcmV?d00001 diff --git a/vim-commands b/vim-commands index fc67c48..4ce9355 100644 --- a/vim-commands +++ b/vim-commands @@ -490,6 +490,8 @@ Line mode: and even all the lines in the file, etc. * : On which line number this command to be executed. + To execute the command on same line as cursor, + don't mention . * , : From the starting line number to the ending line number to @@ -503,3 +505,56 @@ Line mode: :1,5s///g It will do the same form line number 1 to 5. + + ://,//s///g + + It will do the same from line which has pattern matching with + with and ending with line which has pattern + matching with pattern . + + + ------------------------------------ + + + $ = last line; . = current line + + :.,$s///g + + % = All the line (entire file) + + :%s///g + + ----------------------------------- + + + For including character such as "/" for and + we can use "\" which is a escape character. + + For ex: + + :s/\/\//\/\// + + OR + + we can use other non-alphanumeric character as a separator. + + For ex: + + :s#//#// + + %% TIPS %% + + To set options in VIM, we can use :set