Hello, everyone.
In this demo, I'm going to show you how to use VR into two.
The V.A., Ed, is the most popular text editor and the Linux distributions.
The eye considers the number one choice for the most Lennix sysadmins.
There is an advanced vision of the V.I. into two, and it's called them the I am.
And it's the short for the V.I. improved.
The FBI or vem, is a user friendly and it's available in most Linux distributions.
And it works the same among Linux distributions.
Just in case, if we don't have the V.I. improved or DVM vision on my system, I can start it by running
this command.
Yum installed in the.
If I would like to open up a file in them or VA, I just have to comment them, for example, and find
one that Deakes T page into.
As you can see, this is the vem environment or editor.
Now, if I would like to type any word, it will not do anything because the V.I. editor or developer
has two different war.
Kim Motts.
It has the command mode and insert what will face say, open the V.I. it to it obeys the command.
This is the command more direct now.
So in a command mind, they can only do just morphin do CUROSURF school down between beiges.
I can delete characters, wars, lines.
I can Korby cutting and pasting.
Sesshin replacing.
And surfing, I can save also my changes after I do any change.
And this takes five.
The insert mode.
This is the second type.
We only can insert ticks into the five.
When I would like to switch between the Moors, for example, from right now, I would like to switch
from the command mode to the in search mode.
I hate the lowercase.
I as you can see over here, it's insert because a press the key.
I saw the lowercase I in order to add an insert text, for example.
I'm going to add he of them is the the I am proofed
version.
If I would like to for example, add another here since the world come to read.
Pat and sent to O.
S.
Now, if I would like to switch back.
From the insurers to Mort.
To the.
Commandment.
So I can't tie what the escape key.
If I type the escape just in order to sit down.
So right now I switch back from the insert more to the commandment.
Now, let's explain some of the comments that we can use and divin editor Heute.
I just started to explain that if I would like to switch to the insert mod, I just type lower case.
I just I mean, I can't sustain it.
X file.
Huge.
Maybe you can say hello.
Ward.
And welcome to.
Then Ed.
I hit Skip in order to switch back to the command mode.
Now.
I can move the cursor.
Now, if I would like to insert after the cursor.
So let's move the court.
And I would like to unsearched after I can't type.
Lowercase a..
Then I can search anything here.
Them and the I, for example.
I skip to go back to the command.
Mode.
Now, if I would like to insert at the end of the line.
So let's go.
I'm going to hit the other case.
So I marchesi as you can see over here.
So the cursor moves to the end.
Right now we.
Changed from the command more to the incessant.
If I would like, I'm going to hit the escape key in order to go back to the common mode.
Now, if I would like to insert a new line, so I'm going to type or hit the lower case.
As you can see right now, we insert a new line.
We're going to head skip bottom.
And to go back to the comment.
But.
Now, if I would like to move the cursor to the end of the line, I'm going to hear.
Now I'm going to move to the end of the line.
I'm going to type the dollar sign.
Now, if I would like to move.
The cursor to the beginning, to the beginning of the line.
So there is a.
Disco, ma'am.
Let me show you here.
This one, the curves.
This one.
So we just type it.
I'm going to go back right now to the command.
More just I'm going to type.
So it's move me to the beginning of the light right now.
If I would like to jump to the end of the fire, so I'm going to type up our case.
So, as you can see, we jumped to the.
And of the five.
No, if I would like to jump to the beginning of the five.
So is going to type.
Lower case G.
So G does double GS biji.
So I move the cursor to the beginning of the fire.
If I would like to delete or cut a character out, the cursed position.
So I'm going to type X so we can see here.
But now I deleted or.
The character there.
Now, if I would like to delete the current ward.
I'm going to type the D.
W.
If I would like to delete.
Three wars starting from the cursor.
Position.
So I'm going to type three D.
W.
Would you do it again?
Or three d w.
So as we can see here, we have deleted three words.
Starting at curse acquisition.
Now, if I would like to delete the entire line, so I'm going to type Didi's or lowercase D d, d,
d.
If I would like to delete three lines starting from the cursor, I'm going to type three D d.
So I just deleted three lines right now.
If I would like to, could be the word at the cursor, so I'm going to type Y w.
Now, if I would like to Kobe three words starting the cursors, so the cursor position, I'm going
to type three.
Then why W three?
Why W.
If I would like to Kobe three lines starting at the cursor position.
So I'm going to type three then lowercase y y y y.
Now, if I would like to undo the last change.
So I'm going to type the lower case, you, as you can see here.
If I would like to.
Based at the current cursors, I'm going to move the cursor here.
I'm going to type the lowercase P.
So as we can see here, we have.
Bastet.
After the cursor.
Recission.
Now, if I would like to sit lie numbers and the ticks, I'm going to type calling, then I'm going
to type UCSC here.
So after I hit court and I'm going to tap court and then sit.
No, I hit enter.
As we can see here right now, we have short line numbers in the text file.
Now, if I would like to move the cursor to a specific number, so I'm going to try calling in.
I would like to move to line seven, for example, hit enter.
As you can see here, we have moved the cursor to line seven.
If I would like to search for a word.
So I'm going to type and the forward slash like that.
The forward slash then I would like to see, for example, for the war red.
His genter, as you can see here, atnah it this is the ward that we have specialist.
Now, if I would like to replace the phrase matching word in the line.
For example.
OK.
Let's do an example here.
Before that, I would like to add he maybe at the beginning of the fight here, I'm going to turn soon
to.
Not a mobile phone, just which I read.
Yeah, like that.
And the same thing here.
Read.
And also to do it here, right?
And I going to switch back right now to deployment mode.
Now, I would like to replace the phrase matching word in the line to the war.
So I'm going to type call and dende.
Percentage s then slash red.
So I'm going to search for this award and I'm going to change it to our cast red.
Although I hate to enter, we would notice that it will just change.
Defeatist Ford.
That is Matt chink in the line.
So he's going to ignore the second one.
As you can see over here now, if I would like to replace all Dennison's.
We'd like to replace everything, so I'm going to tell you in order to undo the last change.
Now I would like to replace everything.
So I'm going to type calling, then percentage.
S then slash.
Red slash.
Then I'm going to replace it to Red Hat.
Like that I had.
Then after that slash.
G G is like the short for global for everything I hit enter now as you can see right now.
We have changed the world from red to red hot.
As you can see here on the screen.
Right now, I would like to save the file after I change writing and modifying my tax file, so I'm
going to type coal in.
W.
Or there is another one.
Call an X, and even if I would like to use after Dad.
The extension mark, it means that save and force the safe so we can use both either X or W's so it
can hit enter and I'm going to open default again.
As you can see here, we already have saved the file and we opened it again.
Now, if I would like to quit, let me do a change here.
So I'm going to switch from command more to the insource mode.
I'm going to type here.
Hello, Ward.
Welcome to Real eight.
OK.
Now I want to head skip button in order to go back to the command mode.
Now, I would like to quit without saving.
So I'm going to try calling then.
Keel is not going to save the last line.
Enter.
So you said no writing since the last change over sent it out.
Sometimes you need to do the force.
Like that it is going to give you a message.
So hit enter.
We have quitted the V.I. editor, so I'm going back again as we can see over here.
We didn't save the last line that we have wrote over there.
Now, if I would like to save, then quit.
So I'm going to type the comment call.
W.
Q So he's going to save Kuwait.
And I also can use that explanation, Mark, in order to force it.
Enter and we have saved an exit or quit them.
Edit.
That concludes our session.
Thank you.
And see you in the next, miss.