ich diesen Schritt folgen, wenn ich einen Code-Block kommentieren möchten:von Kapital I in vim verwirrt
1) Enter Blockwise Visual mode by hitting CTRL-V. 2) Mark the block you wish to comment. 3) Hit I (capital I) and enter your comment string at the beginning of the line. (// for C++) 4) Hit ESC and all lines selected will have
Ich bin aber nicht ganz sicher, was ich es tut. Und warum ESC verursacht den Einsatz auf jeder Zeile im Block.
dies erklärt es viel besser als meine Antwort. – hometoast