From 1736056117061f1d563b0c86751aeac9f8902752 Mon Sep 17 00:00:00 2001 From: Dita Aji Pratama Date: Fri, 25 Oct 2024 08:24:44 +0700 Subject: [PATCH] Update keybinding on treemacs --- init.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index ba792cf..ef86e6d 100644 --- a/init.el +++ b/init.el @@ -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.