Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using NNN instead of tree | Files not opening #38

Open
ThaDaVos opened this issue Jul 14, 2020 · 6 comments
Open

Using NNN instead of tree | Files not opening #38

ThaDaVos opened this issue Jul 14, 2020 · 6 comments

Comments

@ThaDaVos
Copy link

I tried using NNN as replacement but because of the same reason as here: #19
I cannot, so I follow the fix mention there to add the following line:
set -g @sidebar-key-t 'nnn,left,60,focus'

Now I can open NNN using the C-b + t shortcut, but when it's open, I cannot open any file - even though if I open it seperately it works fine

@ThaDaVos
Copy link
Author

And I figured out why..

If I set set -g @sidebar-tree-command 'printenv | sort' I noticed the env's to get NNN working are missing...
Am I correct in thinking that the plugin opens a different/specific shell?

@kurktchiev
Copy link

@ThaDaVos did you ever get this working? I would like to do something like this myself as tree is pretty limited

@ThaDaVos
Copy link
Author

ThaDaVos commented Dec 4, 2020

Not really - it half works and half doesn't - I am not even using it anymore so yeah

@kurktchiev
Copy link

did you by chance find any other way to integrate nnn as a file manager within tmux i am rolling down this path atm trying to get going with this.

@ThaDaVos
Copy link
Author

ThaDaVos commented Dec 7, 2020

Sadly not, except calling it straight up manually -> I still have the sidebar stuff configured but barely use it

@kurktchiev
Copy link

for what its worth i found https://github.com/addisonlynch/tmux-sidebar-plus which mostly works and extends this plugin to behave a bit better. It seems to have been abandoned so I am looking to fix some bugs and we will see how it goes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants