Variable: treemacs-mode-map
treemacs-mode-map is a variable defined in treemacs-mode.el.
Value
Large value
! treemacs-run-shell-command-for-current-node
< treemacs-decrease-width
<C-i> treemacs-TAB-action
<backtab> treemacs-collapse-all-projects
<double-mouse-1> treemacs-doubleclick-action
<down-mouse-1> treemacs-leftclick-action
<drag-mouse-1> treemacs-dragleftclick-action
<mouse-3> treemacs-rightclick-menu
<next> treemacs-next-page-other-window
<prior> treemacs-previous-page-other-window
<return> treemacs-RET-action
<tab> treemacs-TAB-action
= treemacs-fit-window-width
> treemacs-increase-width
? treemacs-common-helpful-hydra
C treemacs-cleanup-litter
C-? treemacs-advanced-helpful-hydra
C-c C-p a treemacs-add-project-to-workspace
C-c C-p c a treemacs-collapse-all-projects
C-c C-p c c treemacs-collapse-project
C-c C-p c o treemacs-collapse-other-projects
C-c C-p d treemacs-remove-project-from-workspace
C-c C-p r treemacs-rename-project
C-c C-w a treemacs-create-workspace
C-c C-w d treemacs-remove-workspace
C-c C-w e treemacs-edit-workspaces
C-c C-w f treemacs-set-fallback-workspace
C-c C-w n treemacs-next-workspace
C-c C-w r treemacs-rename-workspace
C-c C-w s treemacs-switch-workspace
C-j treemacs-next-project
C-k treemacs-previous-project
H treemacs-collapse-parent-node
M-! treemacs-run-shell-command-in-project-root
M-<down> treemacs-move-project-down
M-<up> treemacs-move-project-up
M-H treemacs-root-up
M-L treemacs-root-down
M-N treemacs-next-line-other-window
M-P treemacs-previous-line-other-window
M-h treemacs-COLLAPSE-action
M-l treemacs-RET-action
M-m treemacs-bulk-file-actions
M-n treemacs-next-neighbour
M-p treemacs-previous-neighbour
P treemacs-peek-mode(var)/treemacs-peek-mode(fun)
Q treemacs-kill-buffer
R treemacs-rename-file
RET treemacs-RET-action
TAB treemacs-TAB-action
W treemacs-extra-wide-toggle
b treemacs-add-bookmark
c d treemacs-create-dir
c f treemacs-create-file
d treemacs-delete-file
g treemacs-refresh
h treemacs-COLLAPSE-action
l treemacs-RET-action
m treemacs-move-file
n treemacs-next-line
o a a treemacs-visit-node-ace
o a h treemacs-visit-node-ace-horizontal-split
o a v treemacs-visit-node-ace-vertical-split
o c treemacs-visit-node-close-treemacs
o h treemacs-visit-node-horizontal-split
o o treemacs-visit-node-no-split
o r treemacs-visit-node-in-most-recently-used-window
o v treemacs-visit-node-vertical-split
o x treemacs-visit-node-in-external-application
p treemacs-previous-line
q treemacs-quit
r treemacs-refresh
s treemacs-resort
t a treemacs-filewatch-mode(var)/treemacs-filewatch-mode(fun)
t c treemacs-indicate-top-scroll-mode(var)/treemacs-indicate-top-scroll-mode(fun)
t d treemacs-git-commit-diff-mode(var)/treemacs-git-commit-diff-mode(fun)
t f treemacs-follow-mode(var)/treemacs-follow-mode(fun)
t g treemacs-git-mode(var)/treemacs-git-mode(fun)
t h treemacs-toggle-show-dotfiles
t i treemacs-hide-gitignored-files-mode(var)/treemacs-hide-gitignored-files-mode(fun)
t n treemacs-indent-guide-mode(var)/treemacs-indent-guide-mode(fun)
t v treemacs-fringe-indicator-mode(var)/treemacs-fringe-indicator-mode(fun)
t w treemacs-toggle-fixed-width
u treemacs-goto-parent-node
w treemacs-set-width
y a treemacs-copy-absolute-path-at-point
y f treemacs-copy-file
y n treemacs-copy-filename-at-point
y p treemacs-copy-project-path-at-point
y r treemacs-copy-relative-path-at-point
y v treemacs-paste-dir-at-point-to-minibuffer
Documentation
Keymap for treemacs-mode.
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-mode.el
(defvar treemacs-mode-map
(let ((map (make-sparse-keymap)))
(define-key map (kbd "?") 'treemacs-common-helpful-hydra)
(define-key map (kbd "C-?") 'treemacs-advanced-helpful-hydra)
(define-key map [down-mouse-1] 'treemacs-leftclick-action)
(define-key map [drag-mouse-1] 'treemacs-dragleftclick-action)
(define-key map [double-mouse-1] 'treemacs-doubleclick-action)
(define-key map [mouse-3] 'treemacs-rightclick-menu)
(define-key map [tab] 'treemacs-TAB-action)
(define-key map [?\t] 'treemacs-TAB-action)
(define-key map [return] 'treemacs-RET-action)
(define-key map (kbd "RET") 'treemacs-RET-action)
(define-key map (kbd "r") 'treemacs-refresh)
(define-key map (kbd "d") 'treemacs-delete-file)
(define-key map (kbd "cf") 'treemacs-create-file)
(define-key map (kbd "cd") 'treemacs-create-dir)
(define-key map (kbd "R") 'treemacs-rename-file)
(define-key map (kbd "u") 'treemacs-goto-parent-node)
(define-key map (kbd "q") 'treemacs-quit)
(define-key map (kbd "Q") 'treemacs-kill-buffer)
(define-key map (kbd "o") treemacs-node-visit-map)
(define-key map (kbd "P") 'treemacs-peek-mode)
(define-key map (kbd "n") 'treemacs-next-line)
(define-key map (kbd "p") 'treemacs-previous-line)
(define-key map (kbd "M-N") 'treemacs-next-line-other-window)
(define-key map (kbd "M-P") 'treemacs-previous-line-other-window)
(define-key map (kbd "<prior>") 'treemacs-previous-page-other-window)
(define-key map (kbd "<next>") 'treemacs-next-page-other-window)
(define-key map (kbd "M-n") 'treemacs-next-neighbour)
(define-key map (kbd "M-p") 'treemacs-previous-neighbour)
(define-key map (kbd "t") treemacs-toggle-map)
(define-key map (kbd "w") 'treemacs-set-width)
(define-key map (kbd "<") 'treemacs-decrease-width)
(define-key map (kbd ">") 'treemacs-increase-width)
(define-key map (kbd "y") treemacs-copy-map)
(define-key map (kbd "m") 'treemacs-move-file)
(define-key map (kbd "g") 'treemacs-refresh)
(define-key map (kbd "s") 'treemacs-resort)
(define-key map (kbd "b") 'treemacs-add-bookmark)
(define-key map (kbd "C-c C-p") treemacs-project-map)
(define-key map (kbd "C-c C-w") treemacs-workspace-map)
(define-key map (kbd "<M-up>") 'treemacs-move-project-up)
(define-key map (kbd "<M-down>") 'treemacs-move-project-down)
(define-key map (kbd "<backtab>") 'treemacs-collapse-all-projects)
(define-key map (kbd "C-j") 'treemacs-next-project)
(define-key map (kbd "C-k") 'treemacs-previous-project)
(define-key map (kbd "h") 'treemacs-COLLAPSE-action)
(define-key map (kbd "l") 'treemacs-RET-action)
(define-key map (kbd "M-h") 'treemacs-COLLAPSE-action)
(define-key map (kbd "M-l") 'treemacs-RET-action)
(define-key map (kbd "M-H") 'treemacs-root-up)
(define-key map (kbd "M-L") 'treemacs-root-down)
(define-key map (kbd "H") 'treemacs-collapse-parent-node)
(define-key map (kbd "!") 'treemacs-run-shell-command-for-current-node)
(define-key map (kbd "M-!") 'treemacs-run-shell-command-in-project-root)
(define-key map (kbd "C") 'treemacs-cleanup-litter)
(define-key map (kbd "=") 'treemacs-fit-window-width)
(define-key map (kbd "W") 'treemacs-extra-wide-toggle)
(define-key map (kbd "M-m") 'treemacs-bulk-file-actions)
(unless (window-system)
(define-key map [C-i] 'treemacs-TAB-action))
map)
"Keymap for `treemacs-mode'.")