> If I want to delete 10 lines of code, 10dd does it. > If I want to change a word, cw. If I want to change > several words, the number of words followed by cw.
Yes thats what I mean about consistency. 10dd - delete 10 lines 10cc - change10 lines 10yy - yank(copy) 10 lines etc... I rarely use the numbersthough becase the magic feature for me is the range commands. /fromstr/,/tostring/<cmd> applies cmd to the range of lines containing fromstr to the next line containing tostring And cmd can be almost any editing command. similarly you can apply commands to only those lines containing a given string. Also rectangular mode is great for messing with comments (almost essential in assembler code!) etc etc etc.... However I'll stop here because its got little to do with python and the vim advocacy pages have more than enough of this kind of promo material :-) Although of course you can get aversion of vim that uses python as its macro language! (But actually I don't use it) Alan G.
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor