“Everything you need to know about Vim”
“Please keep in mind that I just started writing this guide and new things get added every day. Things about to be added can be found here: issues. Thanks!…”
“There is just one rule you must follow when crafting your own .vimrc.
Don’t put any lines in your vimrc that you don’t understand.
There are tons of tutorials such as this one on the internet that contain all kinds of awesome hacks to make your Vim better, but the absolute worst way to make your environment better is to just copy it wholesale from others.
Spending the time to actually learn what’s going into the construction of your editor is invaluable. In the same way that copying notes off a projector by hand often leads to increased information retention, adding features one by one to your vimrc aids in overall Vim comprehension.
With that said, the rest of this article will be me explaining each and every line in my current vimrc in its entirety with the hope that you will find some tricks you haven’t seen before. But! My vimrc is far from perfect. I’m always looking for additions that would make my environment better so if you think I missed something important please let me know: @dougblackio…”
“There are dozens of vim references online, but most of them either go ninja straight away, or start basic and don’t go much deeper.
The goal of this tutorial is to take you through every stage of progression—from understanding the vim philosophy (which will stay with you forever), to surpassing your skill with your current editor, to becoming “one of those people”…”
“If you are using tabs like this then you are really limiting yourself and using a feature of Vim that wasn’t meant to work like this.
Vim’s tabs are named very badly, as others note, they would make more sense if they were called layouts.
Before I explain that, let’s be sure we understand what a buffer is in Vim as well as a few other basic things.
After that, I’ll explain the correct way to use tabs within Vim…”
“This is the result of quite a few googling safaris, and hopefully it can prove helpful to others wanting to write (especially Go) code in Vim. I’m sure this is just scratching the surface of what can (let alone should!) be done, and text editing being the subjective beast that it is, YMMV, but here goes, without further ado, I present to you my glorious Vim setup!…”