Alexander-Miller / treemacs

GNU General Public License v3.0
2.11k stars 154 forks source link

How can I close treemacs buffer upon opening a file? #932

Closed npalladino100 closed 2 years ago

npalladino100 commented 2 years ago

How can I close the treemacs buffer automatically after opening a file?

Alexander-Miller commented 2 years ago

Use treemacs-visit-node-close-treemacs. By default it's bound to oc.

npalladino100 commented 2 years ago

Ok I can use treemacs-visit-node-close-treemacs, and treemacs-visit-node-in-most-recently-used-window, but how can I use both together? Thanks