I do not use vim macros often, but they can be useful from time to time. But when I need them I always need to re-learn the shortcuts, so now I will summarize them in simple example which will create number list from 1. to 50.
Start your vim editor by typing:
Continue reading “Create incremental number list in vim with using simple macro”
I always forget how to do this and I need to write it down:
Turn on syntax highlighting with:
If highlighting looks to dark, then you are probably using dark background, so set it to achieve better readability:
To make these two changes permanent, edit ~/.vimrc file and enter:
To turn of syntax highlighting do:
To go back to light background do:
or delete the lines from ~/.vimrc file.