Re:Why Kakoune – The Quest For a Better Code Editor
by jacknews on Wednesday June 21, 2023 @08:02PM
(#36426471)
You can get this to some extent with visual mode in (neo)vi(m).
[ Parent
| on HN ]
Re:Why Kakoune – The Quest For a Better Code Editor
by galkk on Wednesday June 21, 2023 @08:11PM
(#36426526)
The point is not the immediate visual feedback, but change "direction". Delete 3 words is dw3 vs 3Wd.
To some extent this is similar to common SQL criticism of order of SELECT x FROM y, where some people say that FROM y SELECT y would be more clear.
Re:Why Kakoune – The Quest For a Better Code Editor
by jacknews on Wednesday June 21, 2023 @08:38PM
(#36426697)
ctrl-v 3w d
shift-v 3j y
v ib c
etc
Re:Why Kakoune – The Quest For a Better Code Editor
by cerved on Wednesday June 21, 2023 @11:28PM
(#36427695)
don't you mean d3w?
Re:Why Kakoune – The Quest For a Better Code Editor
by galkk on Thursday June 22, 2023 @03:16AM
(#36428970)
You're right, typo :(
Re:Why Kakoune – The Quest For a Better Code Editor
by jodrellblank on Thursday June 22, 2023 @08:35AM
(#36431191)
People say this about data.method() vs function(data) and about PowerShell using Verb-Noun when they want Noun-Verb. It's pretty clearly either a personal preference, or a thing where different contexts read better one way or the other.
Why can't we make things which work either way?