Compare commits

..

2 Commits

Author SHA1 Message Date
4392ad0a18 Multiple cursors 2024-10-25 08:25:51 +07:00
1736056117 Update keybinding on treemacs 2024-10-25 08:24:44 +07:00

15
init.el
View File

@ -13,10 +13,17 @@
(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 )
)
(use-package multiple-cursors
:ensure t
:config
(global-set-key (kbd "C-c <down>") 'mc/mark-next-like-this)
(global-set-key (kbd "C-c <up>") 'mc/mark-previous-like-this)
)
(custom-set-variables
;; custom-set-variables was added by Custom.