Questions tagged [treemacs]
This tag is to be used for questions relating to the use of treemacs, a tree-layout file explorer tool for Emacs.
26 questions
0 votes
0 answers
12 views
treemacs file tree, set zig icon
in my treemacs file tree, i see icons for .c,.cpp,.rust, but not zig. So i downloaded the zig png, put it under ~/.emacs.d/icons/zig.png and updated my treemacs config to this (use-package lsp-...
1 vote
0 answers
63 views
lsp-treemacs-symbols sometimes resets to the first node after RET action
After opening lsp-treemacs-symbols, navigating to a symbol and pressing RET, sometimes the 'point' in treemacs buffer is reset to the top position in a couple of seconds. But only sometimes. Instead, ...
0 votes
0 answers
112 views
Split horizontally after installing treemacs
I have installed treemacs package and I have enabled it in init.el file to open the treemacs on start-up. However, this also splits my window horizontally as in the picture below. I do not want the ...
1 vote
1 answer
556 views
How to preview source file from treemacs in a project?
I'm using Doom Emacs with treemacs inside it. When I look through each source file from side tree, I need to press Enter to open the file. How to view the file content without Enter but just move the ...
2 votes
1 answer
955 views
Why treemacs is showing all home files instead of CWD?
An emacs newbie here, i'm using doom emacs and i tried to use treemacs for navigation purposes however once i opened a project and toggle treemacs it shows the whole tree of files starting from $HOME,...
2 votes
1 answer
205 views
undo-tree changed Treemacs layout when move history cursor in Spacemacs
When I use Spacemacs with the Treemacs feature inside it, like the picture, I opened it by Alt Shift m + p + t Then use Ctrl x + u to open undo-tree When I move the cursor on the undo-tree by Ctrl + ...
1 vote
1 answer
575 views
Focus a buffer window if already visible; open a window with the buffer if not
I'd like to use a single function (and later keybind it to a single key) that would do the following: if treemacs is visible in the frame, focus to its window; if not, call treemacs. I took a look ...
0 votes
0 answers
271 views
After upgrade: Wrong type argument: treemacs-workspace, nil
I have just upgraded Treemacs on my GNU Emacs 27.2, from an ELPA version from 2 years ago to 20210516. But now when I try M-x treemacs, I get the following error: Wrong type argument: treemacs-...