Why do I use Vim?
My reasons why I preferred vim to other code editors such an atom and sublime.
Vim is amazing. I use it to write code, text notes, check lists. I use it to write this article. I use Vim everytime and everywhere.
Previously I was happy using Sublime and Atom. They were perfect until I have tried Vim in December 2015. I effort to use it for all my needs for a whole week. I couldn’t get used to its ideas and came back to Atom. But I didn’t like it anymore. At the same time I continued to use Vim for small tasks: edit configs, things over ssh.
I removed Atom and moved to Vim completely in April 2016. And now I don’t want back absolutely. Vim is the best editor I have ever used.
- It allows me to use terminal things and edit text in one place.
- It allows me to use one enviroment configuration on all platforms. One Vim, zsh, aliases on laptop, virtual servers, anywhere.
- It’s open sourced and regularly updated.
- It’s a modal and have reach shortkeys mostly without
ctrl
/alt
prefix. I am glad every time usingya{
combination to copy JavaScript object with surrounding curly braces. - It starts extremely fast and uses less resources than Atom or most other editors and IDE.
- It’s customizable by plugins: syntax highlighting, color schemes, tools.
#My setup
I don’t use custom key bingings. I think the built-in ones are good. I prefer a simple configuration, but use some plugins for increase productivity:
- YAJS, ES.NEXT syntax for latest JavaScript features
- JSX plugin for highlight JSX syntax
- Preview colors in css
- GitHub flavored markdown plugin for editing docs
- Asynchronous Lint Engine for linting
- EditorConfig
- GitGutter for view changes in editor
- Airline for awesome statusline
- Ag for searching and ctrlp for file browsing
- Light Atom One color scheme
…and few others tools and plugins. You can find my full Vim configuration in dotfiles repo on GitHub.