mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
Add browser forward/back hotkeys (#155)
This commit is contained in:
parent
0cba405b45
commit
8cbc25a932
4 changed files with 17 additions and 2 deletions
|
|
@ -81,6 +81,8 @@ type MpvSettings = {
|
|||
};
|
||||
|
||||
export enum BindingActions {
|
||||
BROWSER_BACK = 'browserBack',
|
||||
BROWSER_FORWARD = 'browserForward',
|
||||
GLOBAL_SEARCH = 'globalSearch',
|
||||
LOCAL_SEARCH = 'localSearch',
|
||||
MUTE = 'volumeMute',
|
||||
|
|
@ -221,6 +223,8 @@ const initialState: SettingsState = {
|
|||
},
|
||||
hotkeys: {
|
||||
bindings: {
|
||||
browserBack: { allowGlobal: false, hotkey: '', isGlobal: false },
|
||||
browserForward: { allowGlobal: false, hotkey: '', isGlobal: false },
|
||||
globalSearch: { allowGlobal: false, hotkey: 'mod+k', isGlobal: false },
|
||||
localSearch: { allowGlobal: false, hotkey: 'mod+f', isGlobal: false },
|
||||
next: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue