diff options
| author | Craig Jennings <c@cjennings.net> | 2026-02-16 04:46:31 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-02-16 04:46:31 -0600 |
| commit | 79c584370621f66e4a5363d8eeb021cc7b7d4ce5 (patch) | |
| tree | 3ccdbb60b09939fb2275e94450d5add229f1c554 /modules/pdf-config.el | |
| parent | 3d3e03647fa2605facd2b87abf4031e84265bd22 (diff) | |
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
Diffstat (limited to 'modules/pdf-config.el')
| -rw-r--r-- | modules/pdf-config.el | 2 |
1 files changed, 2 insertions, 0 deletions
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 "<down>") #'image-next-line) (define-key pdf-view-mode-map (kbd "<up>") #'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-<down>") (lambda () (interactive) (pdf-view-next-page-command) (image-bob))) |
