Skip to content

Comment on Some things beginners might not know about Sublime Textparent

Comments

Yes, Ctrl-v to enter visual-block mode, then move up or down to cover all lines where you want to make changes, then I{string}Esc to append a string at the cursor location on all lines.

See: http://vimdoc.sourceforge.net/htmldoc/visual.html#blockwise-...

Doesn't block mode only work for blocks within contiguous lines of code? (basically it will let you select a rectangular section of code)

ST2 allows multiple cursors in arbitrary locations - I'm not aware of another editor that supports that.

There is a vim plugin that provides arbitrary multiple line edit.

https://github.com/alfredodeza/plexer.vim

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.