Feature: change Project Explorer's Default Location and Ignore Dotfiles
Adding (setf lem.file-browser::*show-hidden* nil) lets me see normal folders (but still shows hidden too). I've not been able to determine how to open into a different directory e.g. "~/Sandbox"
I've not been able to determine how to open into a different directory e.g. "~/Sandbox"
I think there is currently no way! Except opening a new buffer (even if a directory list) and calling M-x filer-directory, that opens at the current buffer's directory.
Here's a function, good for a PR:
(define-command filer-at-directory () ()
(let ((directory (prompt-for-directory "Directory: "
:directory (buffer-directory)
:gravity :cursor
:use-border t)))
(when (filer-active-p)
(deactive-filer)
(make-leftside-window (make-filer-buffer directory)))))
call M-x filer-at-directory RET choose directory RET
see https://github.com/lem-project/lem/discussions/1831 for a snippet to hide dot files.
The command M-x filer-at-directory was merged, it asks for a directory and opens the filer there.