v1.1.2 - Alt+Arrow move lines, Ctrl+Shift+M source toggle, code syntax highlighting, outline panel, image spacing fix, daily notes

This commit is contained in:
Yuri Karamian
2026-02-16 23:41:31 +01:00
parent d9fe358e6b
commit 06d53cea66
10 changed files with 422 additions and 15 deletions
+6 -1
View File
@@ -25,7 +25,8 @@
activeNotePath,
editorDirty,
showInfo,
showSettings
showSettings,
sourceMode
} from '$lib/stores/app';
const appWindow = getCurrentWindow();
@@ -169,6 +170,10 @@
e.preventDefault();
editor?.forceSave();
}
if (mod && e.shiftKey && e.key === 'M') {
e.preventDefault();
$sourceMode = !$sourceMode;
}
if (e.key === 'Escape') {
if ($showSettings) $showSettings = false;
else if ($showInfo) $showInfo = false;