We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c02daa0 + 8904d15 commit 9da0512Copy full SHA for 9da0512
lib/find-view.js
@@ -235,7 +235,7 @@ class FindView {
235
'find-and-replace:use-selection-as-replace-pattern': this.setSelectionAsReplacePattern.bind(this)
236
}));
237
238
- this.refs.replaceNextButton.addEventListener('click', this.replaceNext.bind(this));
+ this.refs.replaceNextButton.addEventListener('click', e => e.shiftKey ? this.replacePrevious() : this.replaceNext()));
239
this.refs.replaceAllButton.addEventListener('click', this.replaceAll.bind(this));
240
this.subscriptions.add(atom.commands.add('atom-workspace', {
241
'find-and-replace:replace-previous': this.replacePrevious.bind(this),
0 commit comments