mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Keep treemacs-mode in aw-ignored-buffers
This was an arbitrary default. It's easier to remove than to add back (see #4746). I'd rather be faithful to treemacs' author's vision. Closes #4746 Co-authored-by: daanturo <daanturo@users.noreply.github.com>
This commit is contained in:
@ -26,9 +26,6 @@ This must be set before `treemacs' has loaded.")
|
||||
treemacs-persist-file (concat doom-cache-dir "treemacs-persist")
|
||||
treemacs-last-error-persist-file (concat doom-cache-dir "treemacs-last-error-persist"))
|
||||
:config
|
||||
;; Allow ace-window to target treemacs windows elsewhere
|
||||
(after! ace-window
|
||||
(delq! 'treemacs-mode aw-ignored-buffers))
|
||||
;; ...but not from treemacs-visit-node-ace-* commands.
|
||||
(defadvice! +treemacs--ace-window-ignore-treemacs-buffer-a (orig-fn &rest args)
|
||||
:around '(treemacs-visit-node-ace
|
||||
|
Reference in New Issue
Block a user