:set ruler " Display the current line number in the status bar :syntax on " Highlight the keywords based on filetype vimrc under home directory and add these settings to it: To change the inconvenient defaults create a file called. It's true that default settings of the editor help to hide the interesting features, so let's have a look how to make Vim not suck. Most of the very fundamental features that helps code writing are there: autocompletion, autoformatting indents, jumping between functions, syntax highlighting and so on. However (given that we are willing to sacrifice couple of hours to learn the basics) Vim is a very-very capable and customizable editor. We are still using some kind of text editors to write source code and the problems around code writing are roughly the same: quickly edit and reformat specially formatted texts.įrom the first look Vim is an editor that does not even support mouse and even deleting a line is troublesome - not to mention exiting the editor. Well, the thing may not be that different. This reason alone could invalidate its usage as so many things changed since then. An editor from an era where even Java wasn't invented (it was released in 1995). ![]() Vim was released 21 years ago so most of us can argue that is is an ancient editor. ![]() For a long while I could get away without using it but then I had to start editing Octave scripts and a simple notepad did not seem to be too useful to do that. ![]() In every programmers life comes a moment when they need to deal with Vim somehow - some people just need to close it once accidentally opened, some people need to start using it for work.
0 Comments
Leave a Reply. |