From 79c584370621f66e4a5363d8eeb021cc7b7d4ce5 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 16 Feb 2026 04:46:31 -0600 Subject: feat(org-noter): overhaul keybindings, dynamic split, background highlight - Move all org-noter bindings to C-; n prefix with which-key labels - Remove F6 global binding, add i in pdf-view-mode for insert-note-dwim - Auto-detect split direction from frame aspect ratio (threshold 1.4) - Add background highlight on notes window focus (matches music-config) - Fix session start to use find-file-noselect (keeps PDF visible) - Fix split fraction (70/30 doc/notes) - Replace hardcoded path with roam-dir from user-constants - Update commentary to reflect new workflow --- modules/pdf-config.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/pdf-config.el') diff --git a/modules/pdf-config.el b/modules/pdf-config.el index 5cd3ea71..3d952fb5 100644 --- a/modules/pdf-config.el +++ b/modules/pdf-config.el @@ -39,6 +39,8 @@ (define-key pdf-view-mode-map "k" #'image-previous-line) (define-key pdf-view-mode-map (kbd "") #'image-next-line) (define-key pdf-view-mode-map (kbd "") #'image-previous-line) + ;; Org-noter: start session if needed, then insert note + (define-key pdf-view-mode-map "i" #'cj/org-noter-insert-note-dwim) ;; Page change: C-up/C-down go to top of prev/next page (define-key pdf-view-mode-map (kbd "C-") (lambda () (interactive) (pdf-view-next-page-command) (image-bob))) -- cgit v1.2.3