This commit is contained in:
Zelong Kuang
2025-12-21 04:35:19 +11:00
parent 15e7744372
commit cd947605db
4 changed files with 13 additions and 5 deletions

1
.gitignore vendored
View File

@@ -53,5 +53,6 @@ tabsession.el
/tramp
/transient/
/var/
/persp-confs/
/tree-sitter/
/url/

View File

@@ -12,7 +12,8 @@
(use-package winum
:hook (elpaca-after-init . winum-mode)
:config
(winum-set-keymap-prefix (kbd "C-c w")))
;; (winum-set-keymap-prefix (kbd "C- w"))
)
;; Yasnippet settings
(use-package yasnippet

View File

@@ -1,7 +1,5 @@
;; -*- lexical-binding: t; -*-
(use-package treemacs
:ensure t
:defer t
:commands (treemacs-follow-mode
treemacs-filewatch-mode
treemacs-git-mode
@@ -33,6 +31,7 @@
(treemacs-follow-mode t)
(treemacs-project-follow-mode t)
(treemacs-filewatch-mode t)
(treemacs-hide-gitignored-files-mode t)
:bind
(:map global-map
("M-0" . treemacs-select-window)
@@ -59,4 +58,10 @@
:demand t
:config (treemacs-nerd-icons-config))
(use-package treemacs-persp
:after persp-mode
:demand t
:functions treemacs-set-scope-type
:config (treemacs-set-scope-type 'Perspectives))
(provide 'init-treemacs)

View File

@@ -13,7 +13,8 @@
(tabspaces-exclude-buffers '("*eat*" "*vterm*" "*shell*" "*eshell*"))
;; sessions
(tabspaces-session t)
(tabspaces-session-auto-restore)
(tabspaces-session-auto-restore t)
(tabspaces-keymap-prefix "C-c w")
:config
(with-no-warnings
;; Filter Buffers for Consult-Buffer