Skip to main content

Posts

Showing posts with the label vim

Cursor Highlighting in Vim

Most of the time I am using   vim   editor when I need to edit and modify files. In the beginning it looks strange for the people working on Windows since classical Notepad application is much more simple and the graphical user interface provides more simplicity. Having several modes in vim it is making things a little difficult to understand but the strength of the editor stays behinds these modes. Of course we will touch to the cursor highlighting in vim a little later. What we usually start to learn from using vim is to open a file then press i to enable  INSERT  mode, make some changes, and  ESC  to enable  escape mode  and type  :wq  to save and exit or  :q!  to quit without saving. As we all know this is the most basic thing we can perform with vim. Of course within the  ESCAPE  mode, there are many more things that can be done such as replacing strings, adding line numbers, define number of spaces of an indent ...