shift replace previous
MODIFY
lib/find-view.js
lib/find-view.js
@@ -235,7 +235,7 @@ class FindView {
'find-and-replace:use-selection-as-replace-pattern': this.setSelectionAsReplacePattern.bind(this)
}));
- this.refs.replaceNextButton.addEventListener('click', this.replaceNext.bind(this));
+ this.refs.replaceNextButton.addEventListener('click', e => e.shiftKey ? this.replacePrevious() : this.replaceNext()));
this.refs.replaceAllButton.addEventListener('click', this.replaceAll.bind(this));
this.subscriptions.add(atom.commands.add('atom-workspace', {
'find-and-replace:replace-previous': this.replacePrevious.bind(this),

shift replace previous