Learned to gg=G
and to va"
, ci"
, di{
… in vim the other day 😆 Life will never be the same, I can feel it. ref
@aelaraji@aelaraji.com Nice tricks, ta! I actually came across di{
some time ago but entirely forgot about it.
@lyse@lyse.isobeef.org yeah, that’s the thing! I’ve been trying to learn more vim motions and I just can’t get myself to remember any… Now I have that cheat sheet bookmarked, I can look them up on the need to know basis.
@aelaraji@aelaraji.com And pray tell/share with us what these magical commands do? 🤣
@aelaraji@aelaraji.com Yeah, remebering them is a challenge. It often helped me in the past to just try using one or two new commands over and over again. But that obviously doesn’t work that well when the specialized command does not come up in daily routines all that often.
@aelaraji@aelaraji.com … this made me realize that I don’t really know anymore which commands I use. It’s all muscle memory by now. 🤔
@bmallred@staystrong.run Sweeeeeeeeeeet!! Just gave it a try and sorted my Jenny follow list; Thank you !!
The V:
pattern itself is quite good because you can do quite a lot of powerful things with selected text.
For example: ggV}:s/^/ -/
will insert a -
at the beginning of every line turning your bunch of lines into a Markdown list of items 😅
@aelaraji@aelaraji.com Always nice to see another person learning the power of vi
s “language as a user interface” paradigm. :waves: Hello from a happy Kakoune user!
@bmallred@staystrong.run I always get to imagine vim with its roots from vi and ed