Note #2026-08-31-001
For me, treemacs with the default keybindings suggested by it works good enough.
From any file buffer, hit M-0 to open a treemacs sidebar - this has the file highlighted. To go back quickly, just press q - closes the treemacs sidebar. C-n/C-p to move up/down. and Enter to open the new highlighted file.
From what you described, the two additional things you want are:
- keep the point in the original buffer when treemacs opens - I think this should be doable.
- Some keybinding in the original buffer moves the highlight in the treemacs buffer up/down AND also changes the current buffer to the new file highlighted - this might also be possible, but probably not a 1-liner.
Building this on top of treemacs (or dired-sidebar or dired-preview) will be much easier than building something from scratch.
Best of luck.
Tagged:
emacs
Syndicated to: