3 ms·
I like using terminal file managers for quickly traversing many nested directories, where I'm not sure where I want to go. I can use it to browse around and hjk
by vngzs 6y ago
I like using terminal file managers for quickly traversing many nested directories, where I'm not sure where I want to go. I can use it to browse around and hjkl is familiar as a vim user.
With ranger[0], I can even use it as an alternative to cd, which is often the most convenient (I usually want a terminal in the last directory I browsed to, not the place where I opened the file manager[1]).
I hope to find a way to use nnn similarly, but it (like ranger) doesn't seem to support this out of the box.
[0]: https://github.com/ranger/ranger https://github.com/ranger/ranger
[1]: https://unix.stackexchange.com/questions/342064/ranger-cd-into-a-folder-and-invoke-shell https://unix.stackexchange.com/questions/342064/ranger-cd-in...
- apjana 6y ago> With ranger, I can even use it as an alternative to cd cd on quit works in nnn as well... and many other file managers.
- vngzs 6y agoThanks for pointing this out - here's the link, for anyone interested: https://github.com/jarun/nnn/wiki/Basic-use-cases#configure-cd-on-quit https://github.com/jarun/nnn/wiki/Basic-use-cases#configure-...
- apjana 6y ago> but it (like ranger) doesn't seem to support this out of the box No utility can support cd-on-quit out of the box because a spawned process can't send the $PWD to the parent directly when it quits. It needs tweaks in your shell's rc file. nnn also needs the same instrumentation.