Skip to content

Add option to enable the kb-delete-entry in script mode#2087

Merged
DaveDavenport merged 2 commits into
davatorium:nextfrom
douo:next
Jan 22, 2025
Merged

Add option to enable the kb-delete-entry in script mode#2087
DaveDavenport merged 2 commits into
davatorium:nextfrom
douo:next

Conversation

@douo

@douo douo commented Jan 21, 2025

Copy link
Copy Markdown
Contributor

What this PR does:

  • Enable the kb-delete-entry keybinding in scripts through a new use-delete option.
    • Default is false to maintain backward compatibility and avoid breaking existing behavior.
  • Updated documentation to reflect the new state for entry deletion.
  • Modified the script environment example to include the new option.

Reason:

This change enhances user control over entry management in scripts. Specifically, for clipboard management, providing the ability to delete clipboard entries is an important feature.

@DaveDavenport

Copy link
Copy Markdown
Collaborator

I don't think we need the 'use-delete' flag. I don't think it would collide/break any functional to have it always 'on'.

The normal hotkeys do (as they are used to quick-switch between modes), but this should not be an issue.

@douo

douo commented Jan 22, 2025

Copy link
Copy Markdown
Contributor Author

Thank you for the feedback! I’ve updated the PR to remove the use-delete flag as your suggestion. The kb-delete-entry keybinding is now always enabled in script mode.

@DaveDavenport DaveDavenport merged commit 5870040 into davatorium:next Jan 22, 2025
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

Successfully merging this pull request may close these issues.

2 participants