to enable syntax highlighting in vim, open your _vimrc file, and add this text : syntax on. syntax highlighting feature makes us understand the code easier. if you want this feature enable for every file you create, you can add set ai (without colon) in your _vimrc file (for windows user).įor some coder, syntax highlighting is an important feature. to enable auto-indent feature, you can type :set ai in normal mode. So, how do we make vim looks better ? here is some configuration for vim that i think are important :Īuto indenting feature is so important if you are writing code in programming languanges that care about indenting, likes python. this is my Vim text editor after configuring it : Not bad, right? but, since we will using Vim as our main text editor, we need a better view. When you first installed vim and open it, it will look like this : if you want, you can watch about that in this video :īut, altough Vim is very good for coding, it doesn't look like that at the first time. i wouldn't explain what makes Vim special here. But, i and many people out there choose Vim as our text editor, since it is highly customizable for our programming purpose.įor those of you who don't know, Vim is a text editor, not an IDE. There are Notepad ++, Visual Studio Code, Sublime Text, Atom, Brackets, etc. and, as you know, there are so many text editor out there. IDE and text-editor is the essential tools for programmers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |