cut-copy-paste started

This commit is contained in:
2025-06-10 22:56:29 +05:30
parent 95ffd7e8e7
commit cbfd763dfa

View File

@@ -158,5 +158,34 @@ Line mode:
Copy = yank
paste = put
> for yanking(copying) use 'y' or 'Y' command.
> for yanking(copying) use 'y' command.
> Just like 'd' command behavior with 'p' command is same.
* Undo command:
> To undo the action of previous command, use 'u' command to
undo the action.
> To redo the same command undone by undo 'u' command use 'CTRL+r'
command.
* Type of registers:
> Named registers : "a to "z
> Number register : "0 to "9
> unnamed register : ""
> unnamed register contains the data with acquired from one of the
commmands d, x, c, y and s.
c -> , s -> substitute.
> "0 : Most recently yanked data
> "1 : The data which is deleted recently.
> "2 : The data which was deleted second last time.
> "3 : and so on till "9....
> use :reg to see the content of each register.
> use :reg <arg>
wherer arg -> register name to show the content
arg can be string containing all the
registers named concatenated into a
single string.