Rambling About Vim
October 28, 2021 1 Comment
Well, long-time a Vim user like everyone else in the wild. This is just a recollection of good and not-so-good stuff about this editor. Day-to-day activity performed on this editor. Especially the system config file editing. It is getting into the act without much ado, every time. The downside is that I need to remember a few strokes to operate on it effectively. Okay, muscle memory sometimes overflowed and things skip off it. Although that can be fixed in a whisk with little dabble, still that is not natively built or done.
So, users have to spend some time figuring out which fits their memory muscle. It is a lean editor with an extremely powerful capability to do almost everything you can dream of. But, at a cost of bringing complexity (like every other software) to get it extended or enhanced.
Plugins do solve a lot of owes. But, they bring baggage too, and as a result, the parsing (the config file) takes time to react, which gets into nerve sometimes. As you grow along with it and comes to know the nuts and bolts of it, you started to throw away the external thing i.e plugins, and look for an option to do thing natively, which means finding a way to replicate that functionality provided by the plugins to writing some own script by manipulating vim own language.
Engaging in some sort of daily activity like coding or writing plain text files are blazing-fast activity. Of late, certain stuff allows writing markdown files as well. In fact, with some effort and tools, you can write almost anything stuff on it.
Some people are also crazy enough to try it convert as IDE because their workflow involves doing various activities and they wanted to live inside the editor to accomplish every little piece inside it.
Minimalist nature depends on the person’s needs. My requirements are very minimal because I don’t do rocket science and hover on some predicted place or do very deterministic stuff most of the time.
Vim allows you to write your own plugins and macros like another editor (i.e Emacs) to extend convenience and efficiency. Macros save a hell lot of time to do repetitive tasks with smooth incorporation of macros. And with little digging you can save those macros with name , so you can call them by name rather remembering the process.
Okay, every “Vim Experts” tell people to look into the help text ,but is the help text always helpful? I doubt it. But, know how to look for it good thing to learn. Looking at the help page is one thing and interpreting the instruction is other thing. Ofentimes people misinterpret what has been there in the help text. Other times there missing the concrete example about the stuff. Well, it is easy to complain and whine, but to make things easy for others. So, when the built-in stuff failed you, do something which made your life with this editor. Write some of your own understanding in words that conveys to your brain to grasp something you are looking at. Bring them out whenever you need a theme. I have made some of my own just for the sake of my understanding, eliminating the big padded words and instruction(basically esoteric and arcane stuff).
I do make keybinding as memory friendly as possible. So, with little effort, you can easily bring that to work.
Over the years I do accumulate lots of stuff in my vimrc , but I do need them. But, I am in the process of eliminating all the less required stuff from it. I have already incorporated a few themes in a different way. The overly crowded file might affect the runtime as well as performance.
I am getting rid of plugins once by once. Because I have seen a lot of work can be done with whatever built-in stuff shipped with the editor. Plus, it allows me to write small vim scripts to accomplish things I want. This is purely an excuse to learn and know more about the editor of choice. So, in essence, I am trying to give myself chance to catch up with the inherent facilities provided by the tool. But, with the effort I put in, the outcome is not always pleasant, going down the rabbit hole is the norm. Sometimes I do enjoy it, but you know, it pisses me off other times.
Every passing day brings something new to discover and implement, it is a vicious cycle, that takes some taking to stop doing anything.
But, sooner you discover that it is better to stop that mad pursuit. Because it is taking a toll on you and the performance of your tool. Tweaking the existing thing is fine for enhancement, but adding stuff every now and then is often less desirable.
🙂 To nullify whatever I said here is my convoluted and overly large Vimrc_At_GitHub .