Skip to content

Commit

Permalink
feat: rework Tab / Focus clip to CMD+Y Yak shave fixes: #79
Browse files Browse the repository at this point in the history
  • Loading branch information
cablehead committed Jun 13, 2024
1 parent 6868beb commit 12b37f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ export const actions: Action[] = [
},

{
name: "Focus clip",
keys: ["TAB"],
name: "Yak shave",
keys: [<Icon name="IconCommandKey" />, "Y"],
matchKeyEvent: (event: KeyboardEvent) =>
matchKeyEvent(event, { code: "Tab" }),
matchKeyEvent(event, { meta: true, code: "KeyY" }),
canApply: (stack: Stack) => !!stack.selected_item(),
trigger: (stack: Stack) => {
const item = stack.selected_item();
Expand Down

0 comments on commit 12b37f5

Please sign in to comment.