annika,
@annika@xoxo.zone avatar

There's always something new for me to learn in . Today, it's even more registers, and how to insert them into weird places (like inserting the current filename into a command using <C-r> %) https://www.brianstorti.com/vim-registers/

arfs6,
@arfs6@hachyderm.io avatar

@normalmode @annika I like the expression register.

annika,
@annika@xoxo.zone avatar

@arfs6 Oh that's cool! I glossed over it before and assumed it was about regular expressions, but this makes much more sense

arfs6,
@arfs6@hachyderm.io avatar

@annika Yeah, I can see myself doing some basic math stuff in it, instead of bc.
btw, I checked your profile and ... you have ai and crypto in the bad section of your bio, why?

annika,
@annika@xoxo.zone avatar

@arfs6 crypto is a grift that has ruined many lives and ChatGPT/Midjourney/etc. are boring, built on stolen content, and are being shoehorned into inappropriate places. both techs are fads and they're all the more dangerous because of the huge amount of energy they demand

sigsegv,
@sigsegv@hachyderm.io avatar

@annika there’s a great plugin for , which-key, that helps expose registers and key bindings. Maybe there’s something similar for ? I recently started using it in my config and it’s been awesome. FYI, you can directly use % register in a command and it will get interpreted. <c-r> not needed in that context.

annika,
@annika@xoxo.zone avatar

@sigsegv Nice! I'm aware of :reg but it's missing at least %

  • All
  • Subscribed
  • Moderated
  • Favorites
  • vim
  • DreamBathrooms
  • ngwrru68w68
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • tacticalgear
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • ethstaker
  • JUstTest
  • GTA5RPClips
  • modclub
  • tester
  • Leos
  • osvaldo12
  • cisconetworking
  • everett
  • cubers
  • normalnudes
  • anitta
  • megavids
  • provamag3
  • lostlight
  • All magazines