aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/modes
diff options
context:
space:
mode:
authorRaul Benencia <rul@kalgan.cc>2023-03-16 13:25:42 -0700
committerRaul Benencia <rul@kalgan.cc>2023-03-16 13:25:42 -0700
commit000096f830332b58367ddb4e7781858f3f79bd27 (patch)
tree6515b356e9ec020c3533bf218c6e9c5c5d9942d4 /.emacs.local.d/modes
parentfd975588378ef9de890505ac192c765b03dd5f86 (diff)
emacs: define shortcut for enabling logos
Diffstat (limited to '.emacs.local.d/modes')
-rw-r--r--.emacs.local.d/modes/logos.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.local.d/modes/logos.el b/.emacs.local.d/modes/logos.el
index 7e1ad8a..23d9937 100644
--- a/.emacs.local.d/modes/logos.el
+++ b/.emacs.local.d/modes/logos.el
@@ -20,8 +20,10 @@
logos-scroll-lock nil
logos-olivetti t)
+
(let ((map global-map))
(define-key map [remap narrow-to-region] #'logos-narrow-dwim)
(define-key map [remap forward-page] #'logos-forward-page-dwim)
(define-key map [remap backward-page] #'logos-backward-page-dwim)
-))
+ (define-key map (kbd "<f9>") #'logos-focus-mode))
+)
nihil fit ex nihilo