logoalt Hacker News

cyberaxtoday at 6:59 PM4 repliesview on HN

Sigh.

Long time ago, in mid-2000-s I tried to switch to Emacs or Vim from Visual Studio.

I wanted to have a simple project file tree as a side panel and multiple editor tabs on the right. I spent a week toying with various elisp scripts, Vim plugins, and digging out information from a then-moribund XEmacs mailing list.

And I couldn't do what I wanted in the end. Nothing worked seamlessly or reliably.

Can this be done out-of-the-box now?


Replies

flexagoontoday at 8:27 PM

I don't know about emacs, but its definitely doable in neovim. I don't know if the built in file explorer suits your needs, but now that nvim has a proper built in plugin manager, it's just one line of config to install neo-tree or something like that.

show 1 reply
godelskitoday at 7:34 PM

  > Can this be done out-of-the-box now?
It always could be. Go into vim and type `let g:netrw_liststyle = 3` then `:Vex`. The window size won't be what you want, but is the core idea? Because if it is, you just set the liststyle in your vimrc and have netrw start on load, with proper pane location and width.

That or most people have used NerdTree for a decade

show 1 reply
mplanchardtoday at 7:08 PM

Yes, speedbar, with speedbar-prefer-window set to t

Or use any of the various file tree packages in [M]ELPA

kccqzytoday at 7:13 PM

XEmacs has always been moribund. Use GNU Emacs.