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

Delete from command history by Key command #1751

Open
yulog opened this issue Jan 12, 2024 · 1 comment
Open

Delete from command history by Key command #1751

yulog opened this issue Jan 12, 2024 · 1 comment

Comments

@yulog
Copy link

yulog commented Jan 12, 2024

I read #554 and deleted my history.
But history is as follows.

36 store:del-cmd 1
37 store:del-cmd 20
38 store:del-cmd 24
39 store:del-cmd 22
40 store:del-cmd 23
...

I want to delete directly from list (=Ctrl+R) with a keystroke such as Ctrl+Del.

@krader1961
Copy link
Contributor

Note that this was requested in issue #554 but not implemented because the solution to that issue focused on the basic functionality. I would also argue that, since Elvish does not do duplicate command elimination, it makes more sense for a command history key binding to eliminate all instances of a command with the same character sequence rather than deleting a specific command sequence number as is done by store:del-cmd.

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

No branches or pull requests

2 participants