Update keybinding on treemacs

This commit is contained in:
Dita Aji Pratama 2024-10-25 08:24:44 +07:00
parent b9e7107716
commit 1736056117

View File

@ -13,10 +13,11 @@
(setq treemacs-show-hidden-files t) ;; Show hidden files (optional)
(treemacs-fringe-indicator-mode t) ;; Show fringe indicators
(treemacs-git-mode 'deferred) ;; Enable Git integration
(global-set-key (kbd "C-\\") 'treemacs-select-window)
(global-set-key (kbd "M-`") 'treemacs-edit-workspaces)
(global-set-key (kbd "M-0") 'treemacs-switch-workspace)
) ;; Keybinding to open Treemacs
(global-set-key (kbd "C-c \\" ) 'treemacs ) ;; Tree Toggle
(global-set-key (kbd "C-c C-\\" ) 'treemacs-select-window ) ;; Tree Focus
(global-set-key (kbd "C-c M-`" ) 'treemacs-edit-workspaces )
(global-set-key (kbd "C-c TAB" ) 'treemacs-next-workspace )
)
(custom-set-variables
;; custom-set-variables was added by Custom.