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.
20
questions
0
votes
1
answer
22
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,...
0
votes
0
answers
40
views
"Wrong type argument" adding projects to treemacs
I'm just setting up Treemacs for the first time. I am using Emacs' built in project management (not Projectile) and ideally want Treemacs to always show only the current project.
Currently, if I run ...
1
vote
0
answers
41
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
110
views
No colored png icons in treemacs (Doom Emacs)
After reinstalling Doom Emacs several times I can’t find any way to make treemacs use the colored png icons of it’s own default theme. I always get monochrome icons.
How do I solve this?
1
vote
1
answer
82
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 ...
1
vote
0
answers
117
views
Treemacs really slow to open with medium size project
When I open for the first time Treemacs into a project (not only the first time ever, but every time I open the project) it can take some minutes to load, blocking Emacs.
This is the CPU profile:
- ...
0
votes
0
answers
52
views
How can I make treemacs persist project hierarchy?
After opening a new project and working, I may expand some directories.
For example, a new opening of the test project displays:
test
+ test-facade
+ test-service
.gitignore
.project
pom....
0
votes
0
answers
41
views
Treemacs and Transpose-Frame issue
I use treemacs to navigate files and functions, open in a panel to the left (window 1).
I also like the transpose frame package functions to change the orientation of windows, however this doesn't ...
0
votes
0
answers
91
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-...
2
votes
1
answer
428
views
C-x C-f Problem:
When i want to create a new file with C-x C-f (ido-find-file), and type main.lua, Emacs does not create a new file in the current directory (default-directory). Instead, it visits an existing main....
1
vote
0
answers
74
views
Activate a mode when only one window is displayed
I'm trying to enable/disable visual-fill-column when there is one window/multiple windows.
Since I don't like trying it on my own before asking, here is the solution I came up with:
(defun my-visual-...
2
votes
1
answer
2k
views
doom emacs "Symbol's function definition is void: make-treemacs-theme"
I'm using doom emacs with current commit c83e5e75e24706a0d6c15f3156d33b1c4f9dc365.
When I do SPC o p I get error
Symbol's function definition is void: make-treemacs-theme
Below is the screenshot -
...
1
vote
1
answer
145
views
Unmapping Treemacs `<prior>` and `<next>` (Page up and Page down)
I'm trying to unmap the <next> and <prior> key-bindings from Treemacs, because I find counterintuitive that it's the only place where they scroll a different window instead of the current ...
3
votes
2
answers
696
views
Couldn't resize project sidebar is doom emacs
I'm using doom emacs.
I've enabled treemacs in ~/.doom.d/init.el
I couldn't resize the project sidebar. I have tried this mac OS and opensuse 15.1
I get message <left-fringe> <mouse-drag-1&...
2
votes
1
answer
273
views
How to generate and display tags in treemacs (for JavaScript)?
I'd like to generate a set of tags and then view them in Treemacs, ideally whenever I open a file that I can generate tags for.
The docs for Treemacs' tag view say:
Treemacs is able to display
...
1
vote
0
answers
1k
views
How to enable treemacs visibility on by default?
I have treemacs setup and currently using s-1 for toggle. But I would like to display the treemacs window always during startup. How to make it visible?
3
votes
1
answer
512
views
Treemacs with Scala Metals/LSP: "Creating Pipe: Too Many Open Files"
I'm on spacemacs develop, emacs version 27, OSX Mojave 10.14.
After adding the lsp layer and the snippet from the metals documentation here: to my .spacemacs file, treemacs will refuse to expand a ...
1
vote
3
answers
467
views
.emacs complains about undefined functions/variables event after byte-compile
I use use-package and pulled in the treemacs package with the default settings. Then I byte-compiled my .emacsfile. But I still get a warning saying:
the following functions might not be defined at ...
0
votes
0
answers
57
views
Error initiating treemac
initiating treemac is giving this error. I just don't understand all the errors that emacs throws up.
I just have
(require 'treemacs) in init file.
version-to-list: Invalid version syntax: ‘'"'...
2
votes
0
answers
245
views
Keep projectile and treemacs in sync
Since projectile and treemacs are independent project and treemacs-projectile is written as helper. However I fail to understand the concept of it.
I want to see all my projectile projects be shows ...