jaypei / emacs-neotree

A emacs tree plugin like NerdTree for Vim.
GNU General Public License v3.0
1.56k stars 147 forks source link

Change root with up-dir shortcuts. Fixes jaypei#290 #319

Closed mrspeaker closed 1 year ago

mrspeaker commented 5 years ago

Currently the shortcut keys (RET, SPC) do not trigger a change root to the parent directory on the ".." node. To trigger it, you have to move your cursor to the ".." button.

This fix makes the shortcut keys trigger a change root if the path is equal to the parent directory path.

WardBrian commented 3 years ago

I'd love to see this merged!