Thursday 2 January 2020

How To Enable Line Numbering In Vim In Termux

13 comments
Hax4Us.com
So line numbering is one of the cool feature of vim and it feels like a IDE. But it doesn't come by default and unfortunately many beginners are not aware from this feature.

Let's Enable it Then :)

Steps :-




  1. First we have to create a file named .vimrc in home directory of termux. vi ~/.vimrc ( if you have this file already , just skip this step )
  2. Now just write a simple line :set number
  3. Save & exit from vim by just pressing ESC and then two times Z ( in upper case )
  4. Done :) 
Checkout this tutorial to use your VIM like a pro

Read More