atom / find-and-replace

Find and replace in a single buffer and in the project
MIT License
242 stars 219 forks source link

Add hook for `use-selection-as-replace-pattern` #441

Open nemoDreamer opened 9 years ago

nemoDreamer commented 9 years ago

Currently, we only have cmd-e: find-and-replace:use-selection-as-find-pattern

But at least for OSX, cmd-shift-e is "use selection as replace pattern" in a lot of apps and editors.

This allows for super-fast cmd-e, cmd-shift-e on some long string, and places the cursor in the "replace" input-field to slightly modify that string w/o needing to blow your copy/paste buffer to get it into there.

phatmann commented 9 years ago

:+1:

leechy commented 9 years ago

alt-cmd-e is more common via my text editors: BBEdit/TextWrangler and Coda

Can you make such option configurable? I'm trying to add handler in keymap.cson but it's not working