Add obsidian hotkeys
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -424,6 +424,50 @@ in
|
||||
cssSnippets = [ ./snippets/file-explorer-separators.css ];
|
||||
|
||||
themes = [ (import ./themes/minimal { inherit pkgs; }) ];
|
||||
|
||||
hotkeys = {
|
||||
"command-palette:open" = [ { key = "F1"; } ];
|
||||
"app:open-help" = [ ];
|
||||
"editor:swap-line-down" = [
|
||||
{
|
||||
modifiers = [ "Alt" ];
|
||||
key = "ArrowDown";
|
||||
}
|
||||
];
|
||||
"editor:swap-line-up" = [
|
||||
{
|
||||
modifiers = [ "Alt" ];
|
||||
key = "ArrowUp";
|
||||
}
|
||||
];
|
||||
"editor:fold-all" = [
|
||||
{
|
||||
modifiers = [
|
||||
"Alt"
|
||||
"Mod"
|
||||
];
|
||||
key = "T";
|
||||
}
|
||||
];
|
||||
"advanced-cursors:add-cursor-above" = [
|
||||
{
|
||||
modifiers = [
|
||||
"Mod"
|
||||
"Shift"
|
||||
];
|
||||
key = "ArrowUp";
|
||||
}
|
||||
];
|
||||
"advanced-cursors:add-cursor-below" = [
|
||||
{
|
||||
modifiers = [
|
||||
"Mod"
|
||||
"Shift"
|
||||
];
|
||||
key = "ArrowDown";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user