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

Keybinds/options to rename/delete sessions #151

Closed
Andy3153 opened this issue Jul 15, 2022 · 1 comment · Fixed by #382
Closed

Keybinds/options to rename/delete sessions #151

Andy3153 opened this issue Jul 15, 2022 · 1 comment · Fixed by #382
Assignees
Labels
enhancement New feature or request

Comments

@Andy3153
Copy link

Is your feature request related to a problem? Please describe.
It's kind of annoying to have to look at session paths instead of a given name, and it isn't great to have to use :DeleteSession outside of the menu

Describe the solution you'd like
I'd prefer having the ability to rename my sessions from inside the menu, and to also delete them from there, most likely using keybinds. Also, maybe having the ability to name sessions when they get manually created

Describe alternatives you've considered
This isn't great, but instead of having keybinds for rename/delete, there could also just be two separate menus designated for these tasks

@Andy3153 Andy3153 added the enhancement New feature or request label Jul 15, 2022
@rmagatti
Copy link
Owner

rmagatti commented Aug 6, 2022

Hi @Andy3153, thanks for the issue submission! This plugin currently does have two separate menus for session searching (loading) and deleting. :Autosession search and Autosession delete. That said, I tend to prefer using my companion plugin https://github.com/rmagatti/session-lens since it implements a custom telescope picker, and does support deleting from the same menu used to load a session.

The feature embedded in AutoSession itself makes use of vim.ui.select for the picker, which means it's more limited than a full custom picker solution like session-lens.

As for naming a manually saved session, this is also already possible. The save session command takes an argument, which is the path and name of the session you'd like to save. :SaveSession ./my-sesion.

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

Successfully merging a pull request may close this issue.

2 participants