diff --git a/config.org b/config.org index f8d1263..54a6bca 100644 --- a/config.org +++ b/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: