mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
fix(emacs): Fix some keymaps
This commit is contained in:
parent
db94167c59
commit
1a1c8707ce
7 changed files with 89 additions and 87 deletions
23
tools/doom/treemacs.el
Normal file
23
tools/doom/treemacs.el
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
(after! treemacs
|
||||
(map! :map evil-treemacs-state-map
|
||||
"n" #'treemacs-next-line
|
||||
"e" #'treemacs-previous-line
|
||||
"N" #'treemacs-next-neighbour
|
||||
"E" #'treemacs-previous-neighbour
|
||||
"H" #'treemacs-toggle-show-dotfiles
|
||||
"I" #'treemacs-hide-gitignored-files-mode
|
||||
"i" #'treemacs-RET-action
|
||||
"a" #'treemacs-create-file
|
||||
"A" #'treemacs-create-dir
|
||||
"c" #'treemacs-copy-file
|
||||
"d" #'treemacs-delete-file
|
||||
"r" #'treemacs-rename-file
|
||||
"q" #'treemacs-quit
|
||||
"y" #'treemacs-copy-relative-path-at-point
|
||||
"Y" #'treemacs-copy-absolute-path-at-point
|
||||
"m" #'treemacs-mark-or-unmark-path-at-point
|
||||
)
|
||||
)
|
||||
|
||||
(map! :leader
|
||||
:desc "Toggle Treemacs" "f t" #'+treemacs/toggle)
|
||||
Loading…
Add table
Add a link
Reference in a new issue