diff options
Diffstat (limited to 'init.el')
| -rw-r--r-- | init.el | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -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 |
