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.

Filter by
Sorted by
Tagged with
2
votes
1answer
205 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....
2
votes
0answers
186 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 ...
1
vote
1answer
146 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
3answers
262 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 ...
1
vote
1answer
317 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
1answer
55 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 ...
1
vote
0answers
31 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-...
1
vote
0answers
761 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?
1
vote
0answers
218 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 ...
0
votes
1answer
355 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&...
0
votes
0answers
9 views

Treemacs stops working when global-visual-fill-column has been enabled manually

As @drew asked me to do here I'm asking one question per problem I'm trying to enable/disable visual-fill-column when there is one window/multiple windows. (defun my-visual-fill-one-window () (...
0
votes
0answers
18 views

Help troubleshooting NPM logo misalignment in Treemacs

I am developing a Node.js project in Emacs 28.0.50 on macOS 10.15.7. I am using lsp-mode along with lsp-treemacs. Using Treemacs 2.8, the NPM logo corresponding to package-lock.json is misaligned (...
0
votes
0answers
47 views

Treemacs is not allowing the resize the file explorer window in vanilla emacs

I've installed treemacs on vanilla emacs 27.1 when I did M-x treemacs it opens file explorer in the sidebar. I want to resize (i.e., expand and reduce) the length of the file explorer sidebar but ...
0
votes
0answers
55 views

`Treemacs` fixed width and `Desktop.el` save

I use Treemacs to toggle my directory. As default, the width of the Treemacs buffer can only be changed by doing M-x toggle-treemacs-fixed-width. Then, I can use my mouse to drag and adjust the ...
0
votes
0answers
51 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: ‘'"'...