Learning about VIM…..

Gajindu Bandara
2 min readMay 24, 2021

--

Vim is a highly configurable text editor built to enable efficient text editing. I haven’t heard about this before. When Jayasanka Weerasinghe told me about this and what can we do with it. I was a little confused because of one thing. Vim can only be used with the keyboard, we can’t use the mouse for editing in this editor, so I was like “Is that possible??? How can I use the editor without the mouse”

I was a little curious to learn about this vim text editor. I started with the vim tutor. Before learning I had to install vim in my ubuntu operating system. So I installed vim with the “sudo apt install vim” command. Then I opened a new terminal, typed “vim tutor” and pressed the enter key. Now the tutorial begins!!!!!

This tutorial was from the basics. The first thing I learned from this vim tutor is that we can use the below keys to move the cursor inside the editor.

h →move left / l →move right / j →move down / k →move up

After learning these basic movements I moved with the lessons to learn more things. There are seven lessons in this vim tutor and I just finished three and I am studying the rest. Other than that I started to play a new game called vim adventures and this game gives an idea about the way that the vim text editor works.

web site -https://vim-adventures.com/

It's a bit difficult for me to use vim to edit codes as a beginner but I think it will be easier to use only the keyboard than using the keyboard and mouse.

--

--

No responses yet