VIM Master
91–100 of 123 posts
Re: VIM Master
#92https://www.vimgolf.com/ is what taught me to VIM
Re: VIM Master
#93Ah, yet another brave soul seeks to gamify the ancient art of Vim. Admirable. But Vim is not merely a tool... it's a discipline. A lifestyle. It is not learned in an afternoon, nor in a weekend sprint of neon-highlighted tutorials. No, Vim is best learned like one reads a long, weathered tome: slowly, reverently, one page at a time. It begins humbly: i to whisper your intentions. :wq to seal your work with a sacred r…
But can anyone truly quit vim? No
Re: VIM Master
#94I generally recommend to exit either via :xa (save all & exit) or :qa! (discard all and exit), bound to ZZ or ZA respectively. If you exit via :q or :wq, it just closes the current buffer, and moves to the next one. E.g. if you have a neotree open along with the editor, you type :wq, it closes the editor buffer and moves you into the file tree, which can be very confusing for beginners.
Re: VIM Master
#95Earlier quoted context omitted.
> I’m still not even a vim master. I can do some things that people using vim for decades didn't know was possible. I'm still not a vim master. How does one ascend to the levels of TPope? Joking aside, I think that's one of the nice things about vim. There's always more to learn. Not in the way that you're missing something but in the same way this is true for any programming language. It's because these tools are so…
Vim isn't an editor, it's an interactive programming language for text processing. :%norm 0f"ldt"i... There are so many times (even per day) where I'll say to myself: "ahhh, I'll just 'vim' it rather than writing a program..." If I'm not going to have to do it a bunch, sometimes vim itself is faster than writing a script to do whatever random task I need done.
Re: VIM Master
#96I generally recommend to exit either via :xa (save all & exit) or :qa! (discard all and exit), bound to ZZ or ZA respectively. If you exit via :q or :wq, it just closes the current buffer, and moves to the next one. E.g. if you have a neotree open along with the editor, you type :wq, it closes the editor buffer and moves you into the file tree, which can be very confusing for beginners.
just do :wq :wq :wq :wq etc :P
Re: VIM Master
#97meanwhile there's also text editors that dont make you doubt yourself and fall on your face each time someone walks by ur workstation and you want to show them some kind of space-invaders-word-editing-trick which always fails because your fingers arent rubber bands afterall.
(sorry totally nano lover :p satire/jokes)
Re: VIM Master
#98Re: VIM Master
#99I generally recommend to exit either via :xa (save all & exit) or :qa! (discard all and exit), bound to ZZ or ZA respectively. If you exit via :q or :wq, it just closes the current buffer, and moves to the next one. E.g. if you have a neotree open along with the editor, you type :wq, it closes the editor buffer and moves you into the file tree, which can be very confusing for beginners.
just do :wq :wq :wq :wq etc :P