Custom sessions that can be created #2
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
phjorgensen/go-tmux-sessionizer#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm noticing a problem with connecting the search directly with directory paths.
My specific issue is when I'm using my note CLI tool,
nb. It always works with notebooks I have defined in a specific directory, no matter what my current directory is, so the directory doesn't really matter.It also supports local notebooks, which means that if I'm in a directory that is a notebook it will treat that notebook as the default and it will not let you change to another notebook. So I don't really want to be in the notebook directory either, as it block me from changing notebooks quickly.
So what I really need is some generic directory, like
$HOME, with a custom session name so I can have multiple of them without stopping me from creating a session in$HOMEif I would need that at some point.A solution could be to add a way to specify custom sessions in the config file.
Config file
Define two custom sessions with the names "nb-work" and "nb-personal" that opens a session in
$HOME.Usage
This will open the session as if you had gone through the normal flow and selected this option from the
fzf-list. This makes it really simple to bind to a key-bind in your shell.