Post #1688591
2026-04-24 14:55 UTC
Imagine you have a piece of code shaped like this
f(g(h(a b c)))
and you have to delete the innermost set of parentheses (just the parens, not the text). After deleting the opening one, do you
Replies (6)
-
@ionchy@types.pl 2026-04-24 14:59
@bhaktishh dibv%p
-
@lindsey@recurse.social 2026-04-24 15:04
@bhaktishh you forgot my preferred technique of "Go to delete closing parens, but get confused about how many to delete, so just delete all of them and then laboriously retype closing parens until your editor tells you that you have an extra one, and then delete one"
-
@joshchen@types.pl 2026-04-24 15:20
@bhaktishh fully expected rightmost closing to be most popular option
-
@constantine@types.pl 2026-04-24 15:37
@bhaktishh life is not the same after vim-surround
-
@david@types.pl 2026-04-24 15:56
@bhaktishh I rebound the caps lock key on my keyboard to end so I press that and then backspace
-
@redmp@recurse.social 2026-04-25 04:27
@bhaktishh essential discourse 🙇