Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
twist and mouse
twist and mouse
@algernon@come-from.mad-scientist.club  ·  activity timestamp yesterday

TIL di( is a thing, and it is really useful. The whole di thing is great.

#DoomEmacs #vim

  • Copy link
  • Flag this post
  • Block
Paco Velobs
Paco Velobs
@PacoVelobs@mamot.fr replied  ·  activity timestamp 15 hours ago

@algernon
This is called a #TextObject and it's a bliss.

The d deletes, the di deletes Inside and the di( deletes inside the parenthesis.

Use da[ to delete around the square brackets.
Or ci{ to change inside the curly braces.

One I use a lot is dap to delete the whole paragraph.

And it gets better with extra text objects based on #TreeSitter.

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-beta.35 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct