diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -59,7 +59,7 @@ (defun jao-data-file (file) (expand-file-name file jao-data-dir)) -(defvar jao-doc-dir (expand-file-name (jao-d-l "~/Documents/doc" "~/doc"))) +(defvar jao-doc-dir (expand-file-name (jao-d-l "~/Documents" "~/doc"))) (setq jao-org-dir (expand-file-name "org" jao-doc-dir)) @@ -553,6 +553,7 @@ (defvar jao-mode-line-in-minibuffer (jao-is-linux)) (use-package jao-mode-line + :if (jao-is-linux) :commands (jao-mode-line-add-to-minibuffer-left jao-mode-line-add-to-minibuffer-right jao-mode-line-remove-from-minibuffer) @@ -1114,7 +1115,9 @@ `((horizontal-scroll-bars . nil) (vertical-scroll-bars . nil) (scroll-bar-width . 0) - (menu-bar . nil))) + (menu-bar . nil) + (width . 163) + (height . 67))) ;;;; frame layout, title, etc (setq frame-title-format '("%b - emacs")) @@ -1143,7 +1146,7 @@ (use-package jao-afio :demand t :config - (jao-afio-setup (not window-system)) + (jao-afio-setup (or (not window-system) (jao-is-darwin))) (add-hook 'jao-afio-switch-hook 'jao-minibuffer-refresh t) (defun jao-current--frame-id () @@ -1152,7 +1155,7 @@ (not (bound-and-true-p jao-exwm--use-afio)) (boundp 'exwm-workspace-current-index)) (format "F%s" exwm-workspace-current-index)) - (t jao-afio-use-frames (or (jao-afio-frame-name) "")) + (jao-afio-use-frames "") (t (format "%s" (or (jao-afio-frame-no) "")))) 'face 'font-lock-warning-face)) (jao-minibuffer-add-variable '(jao-current--frame-id) 100) @@ -1870,7 +1873,8 @@ (global-set-key "\C-cq" #'auto-fill-mode) (global-set-key "\C-xr\M-w" #'kill-rectangle-save) (global-set-key "\C-c\C-z" #'comment-or-uncomment-region) - (global-set-key "\C-z" #'comment-or-uncomment-region)) + (global-set-key "\C-z" #'comment-or-uncomment-region) + (jao-when-darwin (global-set-key (kbd "M-`") 'other-frame))) (jao-global-keybindings) |