Alexander-Miller / treemacs

GNU General Public License v3.0
2.12k stars 155 forks source link

How to make treemacs open in the previous window where i left ? #952

Closed sofeepokhrel closed 2 years ago

sofeepokhrel commented 2 years ago

When i've open 4 5 multiple buffer at the same window. when i toggle and go to treemacs using alt+0I want treemacs open the new file in that buffer out of 4 5 buffer in that same window.

Like for example, Out of 1 2 3 4 buffer opened in same window with different files, and from 3 i used Alt+0 goes to treemacs and open an another file, which isnt in that 1 2 3 4 , then i want to open that file in 3 , not in other .

Thank you for helping. :)

Alexander-Miller commented 2 years ago

Sounds like you're asking for or - treemacs-visit-node-in-most-recently-used-window.

sofeepokhrel commented 2 years ago

In pressing or while i'm in treemacs it takes me to the buffer i was previously in.

Thank you exactly what i'm looking for. Wishing you good day and happy life .