Ubuntu-vim/Personal
Vim is different from other text editors. Although it looks hard to learn, there are only two main ideas you need to really understand it. Those two are actually what makes Vim so different from other text editors. They are modal editing and operators.
-
Modal Editing
: the purpose of Vim is to enable you to edit text effectively. Because you spend more time editing than entering the text, Vim makes editing and navigation more powerful than any other text editor. -
Operators
: Operator commands (or operators) can delete, change or insert text, copy or format it, etc.
If you’ve had any experience with some of the text editors for programmers, it’s most likely you’ll be disappointed with how Vim
looks. But this is actually a good thing. While other editors try to force you use their features, Vim
does the opposite.
The interface
is very minimal. This means that you have to spend some time and effort to make the Vim
interface look pretty, as well as to improve your productivity. The benefit is this process of configuration will help you understand better how Vim
works.
As a first step, we have to understand how to configure Vim
. The main configuration file is vimrc
. It exists in two versions—global and personal. Your personalvimrc
file is usually placed in your home directory. In Linux operating systems it’s usually a hidden file called .vimrc.
Vim allows its users to change the colors it uses. So yes, Vim supports color schemes. You can create your own, or download some you like, and install them in Vim.
Here is a useful website. Vim Colors can automatically generate previews of Vim colorschemes from GitHub repos.
- Mastering Vim Quickly: From WTF to OMG in no time by Joviac Ilic.
- molokai: color scheme.