feat(treemacs): add binding for accessing files
This commit is contained in:
parent
a0c0c8994c
commit
d56254d4eb
10
config.org
10
config.org
|
@ -2278,6 +2278,16 @@ Treemacs is a really useful package, but it also has a lot of defaults I don't l
|
|||
)
|
||||
#+end_src
|
||||
|
||||
*** Bindings
|
||||
|
||||
A natural thing to do when browsing through the project tree is create a new file. The best way to do this is with the usual ~find-file~ command, bound to =SPC .=, but it would be nice to have a binding to save that leader key press.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(map! :after treemacs
|
||||
:mode treemacs-mode
|
||||
"." #'find-file)
|
||||
#+end_src
|
||||
|
||||
*** Project Integration
|
||||
|
||||
I often accidentally open the project tree before I've even selected a project, which I don't want because it messes up =treemacs-projectile=. Let's fix that problem:
|
||||
|
|
Loading…
Reference in a new issue