Description
Prerequisites
- Write a descriptive title.
Description of the new feature/enhancement
Currently, it is only possible to accept suggestions when at the end of line if the ForwardChar
(right arrow) key is hit. I think it would also make sense to treat the EndOfLine
(End) key the same way. I know that this is how zsh-autosuggestions work, I haven't tested if fish autosuggestions also work like that but I feel like it's an intuitive behavior since you're trying to go to the end of the suggested line. I'm sure it is possible with a script block (I haven't yet looked into how but probably will soon) but I think that this would be a sensible default to have.
Arguably, the End key makes more sense than the right arrow key, and the right arrow key could be used for accepting the next word but that's really just my opinion which doesn't really matter when there are already so many users that are used to this. + It is possible to change it with the provided ForwardCharAndAcceptNextSuggestionWord
example.
Proposed technical implementation details (optional)
No response
[Edited by @daxian-dbw] Added one upvote to represent the duplicate issue #3741