Hacker News new | past | comments | ask | show | jobs | submit login

You can get this to some extent with visual mode in (neo)vi(m).



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.


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?


  ctrl-v 3w d
  shift-v 3j y
  v ib c
etc


don't you mean d3w?


You're right, typo :(




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: