Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Way useful. You can, for example, select all instances of a variable name, then rename it selectively from the middle of the selection if you want.

Also good to note: Command-F find also has a "Find All" option which can be faster than pressing Command-D multiple times, and also allows more complex non-word and regexp searches. From there you can use multiple cursors or replace the whole selection just by typing.

Brilliant editor, this one.



+1.

One minor complaint: I wish cmd+D had a "whole words only" setting. Its confusing when using with the "highlight all matches" feature, which is "whole words only" IIRC.




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

Search: