Searching -> under progress

This commit is contained in:
2025-08-10 09:00:40 +03:00
parent f0621c3194
commit 282e325e04
2 changed files with 58 additions and 0 deletions

View File

@@ -309,3 +309,61 @@ Line mode:
Do the same thing as "J" command. Only difference is that it doesn't
add any space between joining lines.
-> Searching commands:
@ Command :- f + <character>
What does it do?
Searches for the next occurence of the character passed as an argument
from current cursor position on the same line.
NOTE THE WORD, SAME LINE.
@ Command :- F + <character>
What does it do?
Do the same thing as previous command, but in opposite direction.
@ Command :- ;
What does it do?
It repeat the command from the above two, whichever was executed
first. For example, if F + <character> is executed, it will repeat
the same command.
@ Command :- ,
What does it do?
It do the opposite of what ";" command does. For example, if
F + <character> is executed, it will execute f + <character>
action, repeatedly. It will do the opposite of whichever
above mentioned command was executed first.
@ Command :- t + <character>
What does it do?
It search for the <character> and place the cursor just one
position before the current cursor. Note that, using the same
command again will not move the cursor to next position w.r.t
same <character> that was mentioned earlier.
We can use ";" and "," command to repeat the mentioned command
even if the cursor is present just before the searched <character>,
it pass through the current <character> position.
Note that the searching is done from left to right.
@ Command :- T + <character>
What does it do?
It perform operation and behave in similar manner as done by t +
<character> command. But, the searching is done in reverse order.