You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#5791 and 049104e have made it a lot nicer to work from history.
I'd love to see this go one step further, by allowing a history entry to be deleted from the Ctrl-R history pager. For example, something similar to Chrome's autofill/omnibox dropdowns, where you can type Shift-Del to delete the currently selected dropdown item.
This would make it super practical to delete a recent item from history if you accidentally pasted a password, without having to clear any more than necessary:
Ctrl-R
Down key a few times
Shift-Del
It would also bring the history page up to feature parity with the fish_config UI, which has exactly two clear features: search all items, and delete any single item.
sounds like a good idea, proposed implementation is in #9515
Can we make it more discoverable, maybe bind it to Delete? When used accidentally it deletes the command permanently but I don't think that's a huge loss.
@r3a1d3a1 yeah I noticed that as well. I didn't root-cause it yet. It no longer happens with the upcoming #10359, at least on a terminal that supports CSI u
Activity
history pager: delete selected history entry with Shift-Delete
history pager: delete selected history entry with Shift-Delete
krobelus commentedon Jan 29, 2023
sounds like a good idea, proposed implementation is in #9515
Can we make it more discoverable, maybe bind it to Delete? When used accidentally it deletes the command permanently but I don't think that's a huge loss.
history pager: delete selected history entry with Shift-Delete
history pager: delete selected history entry with Shift-Delete
history pager: delete selected history entry with Shift-Delete
history pager: delete selected history entry with Shift-Delete
krobelus commentedon Mar 15, 2024
@r3a1d3a1 yeah I noticed that as well. I didn't root-cause it yet. It no longer happens with the upcoming #10359, at least on a terminal that supports CSI u