Learn VIM and don’t die in the attempt II special moves

Jhonnata Gil Chaves
3 min readOct 24, 2022

--

You can find this files in this repo

Continue with these series related for a how to move on VIM, today we continue adding new special moves in this awesome terminal

So, in the previous post we create a file called 2_file.txt , for start a new file we need to move this file and rename for 3_file.txt could be a command that help for this works with mv or rename something similar to this mv 2_file.txt 3_file.txt or rename 2_file 3_file 2_file.txt and open the file with our special command vim 3_file.txt

Special moves

For start this special move, we start for moving from line start to end the same line we can use the special chars 0 and $ respective about the move 0move the cursor to start line and $ move to the end of the line

After press $
After press 0

With these simple key you can move fast in the current line, BTW we move for the next group the special moves in VIM, now we check moves for every word in the current line or the next line with this on on min our next group is w and e , the firs key send the cursor for the next word in the first chart position also the another key move the cursor in the current word on the last chart for this word

After press w
After press e

Now for back in the current navigation we can use a b key this moves in the current word to the first position if you press again, move to the previous word in the first position again

After press $, our first position
After press b in the first time
After press b again

Exit

With this part we end a little session related to how to we can move in vim :q!

Previous section

Next section

--

--

Jhonnata Gil Chaves

I’m a System Engineer and Software Developer. I love Linux and your philosophy it’s very nice share all knowledge that every day I learn around tech and make so