Skip to content

Commit

Permalink
Change search hotkey so it does not replace the native find
Browse files Browse the repository at this point in the history
  • Loading branch information
belcherj committed May 12, 2020
1 parent c19ce2e commit f8e7194
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export const App = connect(
return false;
}

if (cmdOrCtrl && !shiftKey && 'KeyF' === code) {
if (cmdOrCtrl && shiftKey && 'KeyS' === code) {
this.props.focusSearchField();

event.stopPropagation();
Expand Down
4 changes: 3 additions & 1 deletion lib/dialogs/keybindings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ export class AboutDialog extends Component<DispatchProps> {
</Keys>
</li>
<li>
<Keys keys={[CmdOrCtrl, 'F']}>Focus search field</Keys>
<Keys keys={[CmdOrCtrl, 'Shift', 'S']}>
Focus search field
</Keys>
</li>
<li>
<Keys keys={[CmdOrCtrl, 'G']}>
Expand Down

0 comments on commit f8e7194

Please sign in to comment.