-
Notifications
You must be signed in to change notification settings - Fork 51
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
Better handling of Zoxide Index for Session Creation #116
Comments
Interesting!
One note though - only displaying results from zoxide, even if possible, still doesn't give me the option to pick them. Perhaps I should load them into the dictionary feeding fzf on the fly. Not even sure that's possible I'm thinking out loud. LMK what are you thoughts |
It should be working. Take a look at my dotfiles. I was using it on a daily basis and now am migrating to tpm+sessionx Also I noticed that zoxide sessions are created with a window with a specific name. tmux-sessionx/scripts/sessionx.sh Line 136 in 56abffd
I think it would be better to take more atomic approach and have a single universal |
Also I think the best approach here would be to allow any user command for input |
I merged the PR adding the solution to this, however I do agree that some people may want to tweak the zoxide command. Feel free to reopen if you think it's necessary |
Feature suggestion about how new sessions are handled here, might be just nitpicking on my part, but hear me out.
When I type in some part of a directory name that I know to be on my Zoxide history creating a session just with that part of the name might result into non descriptive names for the sessions and create some friction on having to rename said sessions, so in those cases a better approach would be using the full name of the directory instead for the session name, although a bit naive maybe but I think it should cover most cases.
Another option (inspired on Josh Medeski's plugin) would be instead of having this automatic session creation, have a binding similar to
^-x
to open an fzf search on the zoxide index in which you could select the directory you want with precision and create a session with the directory name.The text was updated successfully, but these errors were encountered: