I’m sure most, if not all, developers who first started using Vim had to Google how to exit Vim, which is why it became a tech meme.
Why use Vim?
Speed ⚡
- Vim motions are intuitive
Hit it with a dap
- Example:
dap
deletes around a paragraph, which is useful for deleting function definitions.
- Fast(er) startup times and resource-light compared to many memory-hungry modern IDEs (integrated development environments)
- No need to use arrow keys or the mouse for navigation, which
- reduces RSI (repetitive strain injury), a common issue for programmers.
Universal 🪐
- Almost every development environment comes pre-installed with Vi/Vim
Customizability 🛠️
-
- Fully customizable with plugins and keymaps to suit your needs
- Portable custom/personal plugins and keymaps
- These configuration files (also known as dotfiles) can be stored in a version control system/repository and installed on any system you work on
Cool 👌
- I started using Vim because they said good developers use Vim 😎
Neovim – The New (and arguably better) Vim
Neovim is a fork of Vim – a hyperextensible Vim-based text editor
- It has a better and more diversified plugin ecosystem with
- Better UI and interactive GUI
- Uses the Lua programming language instead of Vimscript, offering
- better performance
- a more beginner-friendly experience — it’s simple to learn, understand, and write
- Builtin LSP (language server protocol) client
- Truly PDE (personal development environment)
How to get better at Vim?
Practice, practice, practice 💪
Vim (and Kdb) Golf Challenges ⛳️
Did I mention that I love challenges? 😆 I was so excited when I found this VimGolf challenge project. It is very similar to the concept of AOC (advent of code).
I created a public VimGolf repository for my personal solutions and tips so that we can all share the knowledge.
Not forgetting Kdb developers, I’ve also included a KdbGolf section as a bonus challenge. As a Kdb developer, I could be biased, but I find that Kdb is superior when it comes to parsing tasks.
It is versatile, easy, minimal and fast.
Feel free to submit a pull request with any solutions, tips, or suggestions you may have so that we can all learn from one another!
“I’ve learnt how to quit Vim but now I can’t quit Vim” — Maurice Lim
This post is written in Neovim btw (using markdown format)! 😙
But I had to convert it to html format for wordpress to render it.
Showcase of using Neovim with markdown-preview.nvim