News for hackers. Stuff that matters.
Re:Your problem with Vim is that you don't grok vi by DrewG on Monday August 22, 2011 @07:39PM (#2914649)
Why do you have the same 10 characters on 10 consecutive lines? Sounds like that is probably a violation of DRY, at least it always has been when I encountered something like that. Also, if you are comparing vi(m) to something, please don't compare it to notepad. Every editor and IDE I have used in the past few years has rectangular selection. Commonly with alt+click and drag, or shift+alt+arrow keys.
Re:Your problem with Vim is that you don't grok vi by sophacles on Tuesday August 23, 2011 @09:57AM (#2916544)
There are lots of scenarios when this comes up:

- braindead configuaration files. - data files that need some massaging - commenting out code blocks in languages which need a prefix comment delimiter on each line (e.g. python's # or haskell's --) - any time you are doing a series of operations calling functions in a module or from a single class/object and the name changes (e.g. foo.x();, foo.y(); foo.z(); and so on);

Re:Your problem with Vim is that you don't grok vi by DrewG on Tuesday August 23, 2011 @10:51AM (#2916785)
OK, I can potentially see where vi(m)'s rectangluar selection would be good for editing config files and such, but I'm pretty sure all modern editors have rectangular selection anyway (notepad is not a modern editor). My IDE has the ability to rename a variable and to comment/uncomment a selection which solves your last two problems.
Re:Your problem with Vim is that you don't grok vi by sophacles on Wednesday August 24, 2011 @08:22AM (#2920397)
I wasn't defending vim over your editor, just answering the question of when there are valid times to do 10 lines of block change. 2 more that came up for me yesterday:

We changed the data format being sent over JSON now I needed to:

1) make a bunch of int declarations into float declarations, fortunately those tend to bunch up.

2) Change a bunch of getInt calls to getFloat calls, but those are also bunched up together.