Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
sql's monster boosted
Paco Velobs
Paco Velobs
@PacoVelobs@mamot.fr  ·  activity timestamp last month

@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 post
  • Block
sql's monster
sql's monster
@algernon@come-from.mad-scientist.club  ·  activity timestamp last month

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

#DoomEmacs #vim

Paco Velobs
Paco Velobs
@PacoVelobs@mamot.fr  ·  activity timestamp last month

@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.2-alpha.29 no JS en
Federation disabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct