mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-13 08:38:43 +03:00
settings: add shortcut config
This commit is contained in:
parent
88e5f297c9
commit
880cde81ca
@ -17,6 +17,13 @@ export interface SettingsState extends BaseState<SettingsState> {
|
||||
hideGroups: boolean;
|
||||
hideUtilities: boolean;
|
||||
};
|
||||
keyboard: {
|
||||
cycleForward: string;
|
||||
cycleBack: string;
|
||||
navForward: string;
|
||||
navBack: string;
|
||||
hideSidebar: string;
|
||||
}
|
||||
remoteContentPolicy: RemoteContentPolicy;
|
||||
leap: {
|
||||
categories: LeapCategories[];
|
||||
@ -60,6 +67,13 @@ const useSettingsState = createState<SettingsState>('Settings', {
|
||||
tutorial: {
|
||||
seen: true,
|
||||
joined: undefined
|
||||
},
|
||||
keyboard: {
|
||||
cycleForward: 'ctrl+n',
|
||||
cycleBack: 'ctrl+p',
|
||||
navForward: 'ctrl+f',
|
||||
navBack: 'ctrl+b',
|
||||
hideSidebar: 'ctrl+h'
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user