parent
a354bba261
commit
19ecf8e46a
25 changed files with 39 additions and 39 deletions
|
@ -37,7 +37,7 @@
|
|||
|
||||
(add-hook '+doom-dashboard-mode-hook #'doom-modeline-set-project-modeline)
|
||||
|
||||
(add-hook 'magit-mode-hook
|
||||
(add-hook! 'magit-mode-hook
|
||||
(defun +modeline-hide-in-non-status-buffer-h ()
|
||||
"Show minimal modeline in magit-status buffer, no modeline elsewhere."
|
||||
(if (eq major-mode 'magit-status-mode)
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
;; The cursor always sits at bol. `+neotree--fix-cursor-h' and
|
||||
;; `+neotree--indent-cursor-a' change that behavior so that the cursor is
|
||||
;; always on the first non-blank character on the line, in the neo buffer.
|
||||
(add-hook 'neo-enter-hook
|
||||
(add-hook! 'neo-enter-hook
|
||||
(defun +neotree-fix-cursor-h (&rest _)
|
||||
(with-current-buffer neo-global--buffer
|
||||
(+neotree*indent-cursor))))
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
centaur-tabs-set-modified-marker t)
|
||||
|
||||
:config
|
||||
(add-hook 'centaur-tabs-mode-hook
|
||||
(add-hook! 'centaur-tabs-mode-hook
|
||||
(defun +tabbar-init-frames-h ()
|
||||
(dolist (frame (frame-list))
|
||||
(if (not centaur-tabs-mode)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
;;; ui/unicode/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(add-hook 'doom-init-ui-hook
|
||||
(add-hook! 'doom-init-ui-hook
|
||||
(defun +unicode-init-fonts-h ()
|
||||
"Set up `unicode-fonts' to eventually run; accomodating the daemon, if
|
||||
necessary."
|
||||
|
|
|
@ -176,7 +176,7 @@ stored in `persp-save-dir'.")
|
|||
|
||||
;; Fix #1017: stop session persistence from restoring a broken posframe
|
||||
(after! posframe
|
||||
(add-hook 'persp-after-load-state-functions
|
||||
(add-hook! 'persp-after-load-state-functions
|
||||
(defun +workspaces-delete-all-posframes-h (&rest _)
|
||||
(posframe-delete-all))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue