mirror of
https://github.com/Hizenberg469/Vim-tutorials.git
synced 2026-04-19 22:02:24 +03:00
Inserting in Vim
This commit is contained in:
BIN
.inserting.txt.swp
Normal file
BIN
.inserting.txt.swp
Normal file
Binary file not shown.
BIN
.vim-commands.swo
Normal file
BIN
.vim-commands.swo
Normal file
Binary file not shown.
@@ -5,20 +5,34 @@ Hello, my name is Jason.
|
||||
my name is Jason.
|
||||
|
||||
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
|
||||
There was no possibility of taking a walk that day.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
What is 2 + 2? Answer on the line below:
|
||||
|
||||
|
||||
What is 3 + 1? Answer on the line above:
|
||||
|
||||
Create a line of asterisks below:
|
||||
|
||||
********************************************************************************
|
||||
Create 5 lines that begin with "#".
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
|
||||
Create 4 lines that begin with "10.11.12.".
|
||||
10.11.12.
|
||||
10.11.12.
|
||||
10.11.12.
|
||||
10.11.12.
|
||||
|
||||
Replace me!
|
||||
|
||||
|
||||
43
vim-commands
43
vim-commands
@@ -186,6 +186,43 @@ Line mode:
|
||||
> 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.
|
||||
+ arg can be string containing all the
|
||||
registers named concatenated into a
|
||||
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.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user