summaryrefslogtreecommitdiffhomepage
path: root/init.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2026-03-08 17:52:31 +0000
committerjao <jao@gnu.org>2026-03-08 17:52:31 +0000
commitf6689901678240caadb67079b980d271c627ce3e (patch)
treea46095331e02a3229d440fc83c772081431b386c /init.el
parent7fd97c13e6b433cd27dbb1ecd0394e6838e61ec8 (diff)
downloadelibs-f6689901678240caadb67079b980d271c627ce3e.tar.gz
elibs-f6689901678240caadb67079b980d271c627ce3e.tar.bz2
nits
Diffstat (limited to 'init.el')
-rw-r--r--init.el19
1 files changed, 11 insertions, 8 deletions
diff --git a/init.el b/init.el
index c924962..ec79845 100644
--- a/init.el
+++ b/init.el
@@ -1006,12 +1006,12 @@
(if window-system
(setq scroll-preserve-screen-position 'always
scroll-conservatively most-positive-fixnum
- scroll-margin 0
+ scroll-margin 5
scroll-step 2
redisplay-skip-fontification-on-input t)
(setq scroll-preserve-screen-position nil
scroll-conservatively 0
- scroll-margin 0
+ scroll-margin 5
scroll-step 1
redisplay-skip-fontification-on-input nil))
@@ -1120,7 +1120,7 @@
(use-package spatial-window
:ensure t
- :bind ("C-M-o" . spatial-window-select))
+ :bind ("M-o" . spatial-window-select))
;;;; transposing windows
(defun transpose-windows (arg)
@@ -1149,8 +1149,8 @@
(scroll-bar-width . 0)
,@(jao-when-linux '((menu-bar . nil)))
,@(jao-when-darwin '((internal-border-width . 5)
- (width . 163)
- (height . 70)
+ ;; (width . 163)
+ ;; (height . 70)
(menu-bar . t)
;; (right-divider-width . 6)
;; (bottom-divider-width . 6)
@@ -1182,10 +1182,12 @@
(delete-window))
;;;; afio
+(defvar jao-afio-skip-default-set nil)
+
(use-package jao-afio
:demand t
:config
- (jao-afio-setup (or (not window-system) (jao-is-darwin)))
+ (jao-afio-setup (not window-system))
(add-hook 'jao-afio-switch-hook 'jao-minibuffer-refresh t)
(defun jao-current--frame-id ()
@@ -1204,7 +1206,8 @@
(jao-when-darwin
(jao-afio-add-frame-parameters "docs" (width . 195) (height . 75))
- (jao-afio-add-frame-parameters nil (width . 163) (height . 70))
+ (unless jao-afio-skip-default-set
+ (jao-afio-add-frame-parameters nil (width . 163) (height . 70)))
(add-to-list 'default-frame-alist '(width . 80)))
:bind (("C-c f" . 'jao-afio-goto-main)
@@ -1213,7 +1216,7 @@
("C-c z" . 'jao-afio-goto-docs)
("C-c t" . 'jao-afio-goto-chats)
("C-c 0" . 'jao-afio-goto-scratch)
- ("M-o" . 'jao-afio-toggle)))
+ ("s-o" . 'jao-afio-toggle)))
;;; Writing and writing modes
;;;; copyright notices