Re:Things I've learned building a modern TUI framework
by dmitriid on Friday August 05, 2022 @12:20PM
(#32358291)
I still have no idea what di or dib does. (There should be an explain vim a la https://explainshell.com :) )
> `dib` to replace the argument (all of them ofc if there's more than one).
I prefer editors that are aware of context :)
I use di" more often but it's the same thing really. fnCall("a| string"), `di"` lets me replace the string, `dib` to replace the argument (all of them ofc if there's more than one).
If ddO isn't available, granted, Cmd-right-backspace will clean up just as fast. Or Cmd-left-delete if you have both keys.