Inserting in Vim

This commit is contained in:
2025-08-04 19:54:58 +03:00
parent cbfd763dfa
commit 6faad13610
4 changed files with 57 additions and 6 deletions

BIN
.inserting.txt.swp Normal file

Binary file not shown.

BIN
.vim-commands.swo Normal file

Binary file not shown.

View File

@@ -5,20 +5,34 @@ Hello, my name is Jason.
my name is Jason. my name is Jason.
Once upon a time. Once upon a time.
Oce upon a time. Once upon a time.
There was no possibility of taking a walk that day. There was no possibility of taking a walk that day.
There was no possibility of taking a walk that There was no possibility of taking a walk that day.
What is 2 + 2? Answer on the line below: What is 2 + 2? Answer on the line below:
What is 3 + 1? Answer on the line above: What is 3 + 1? Answer on the line above:
Create a line of asterisks below: Create a line of asterisks below:
********************************************************************************
Create 5 lines that begin with "#". Create 5 lines that begin with "#".
#
#
#
#
#
Create 4 lines that begin with "10.11.12.". Create 4 lines that begin with "10.11.12.".
10.11.12.
10.11.12.
10.11.12.
10.11.12.
Replace me! Replace me!

View File

@@ -186,6 +186,43 @@ Line mode:
> use :reg to see the content of each register. > use :reg to see the content of each register.
> use :reg <arg> > use :reg <arg>
wherer arg -> register name to show the content wherer arg -> register name to show the content
arg can be string containing all the + arg can be string containing all the
registers named concatenated into a registers named concatenated into a
single string. single string.
-> Transforming and Substituting:
* Inserting:
@ Command :- Shift + i or CAPS + i (Capital i)
What does it do?
It put the mode in insert mode and put the cursor in
the first character of the first word of the current
line where the cursor is present.
@ Command :- Shift + a or CAPS + a (Capital a)
What does it do?
It put the mode in insert mode and put the cursor after
the last character of the last word of the current
line where the cursor is present.
@ Command :- o
What does it do?
It puts the mode in insert mode and put the cursor below
the line where the current cursor is present.
@ Command :- Shift + o
What does it do?
It puts the mode in insert mode and put the cursor above
the line where the current cursor is present.