Add obsidian hotkeys

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-07-17 16:58:20 +01:00
parent 443c6dc3a8
commit bccc8d343b
2 changed files with 82 additions and 0 deletions

View File

@@ -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";
}
];
};
};
};