Skip to content

feat: Add delete previous and delete next functionalities #36

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

Merged
merged 4 commits into from
Jun 27, 2025

Conversation

prirai
Copy link
Contributor

@prirai prirai commented Jun 27, 2025

This commit introduces two new functionalities to :

  • Delete previous (Alt+p): Deletes all clipboard entries older than the currently highlighted one.
  • Delete next (Alt+n): Deletes all clipboard entries newer than the currently highlighted one.

Linting issues are fixed now.

This commit introduces two new functionalities to :
- **Delete previous (Alt+p):** Deletes all clipboard entries older than the currently highlighted one.
- **Delete next (Alt+n):** Deletes all clipboard entries newer than the currently highlighted one.

The following files were modified:
- : Updated to reflect the new keybindings and their descriptions in both the usage and configuration sections.
- : Modified to pass the new keybinding configurations to the .
- : Added new  entries for  and , along with their default values and shortcuts ( and ).
- : Temporarily modified for debugging purposes (logging Rofi command), then reverted.
- : Implemented the logic for deleting previous and next entries. Updated  calls and the  block to correctly handle the key codes returned by Rofi for , , and .
@prirai prirai closed this Jun 27, 2025
@szaffarano szaffarano reopened this Jun 27, 2025
@szaffarano szaffarano merged commit 9db5826 into szaffarano:master Jun 27, 2025
4 checks passed
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