Skip to content

Commit

Permalink
feat: add cmd+shift+K shortcut to open recents
Browse files Browse the repository at this point in the history
  • Loading branch information
juliajforesti committed Oct 11, 2024
1 parent 4d440f9 commit f03046c
Show file tree
Hide file tree
Showing 2 changed files with 6,613 additions and 6,607 deletions.
5 changes: 5 additions & 0 deletions apps/meteor/client/sidebarv2/header/SearchSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ const SearchSection = () => {
setShowRecent(false);
setFocus('filterText');
},
'Shift+$mod+K': (event) => {
event.preventDefault();
setShowRecent(true);
setFocus('filterText');
},
'Escape': (event) => {
event.preventDefault();
setShowRecent(false);
Expand Down
Loading

0 comments on commit f03046c

Please sign in to comment.