-
I'm wondering how to bind for example:
|
Beta Was this translation helpful? Give feedback.
Answered by
krobelus
Dec 15, 2022
Replies: 1 comment 1 reply
-
yeah vi-mode as some usability issues, we should fix them as workaround you can use this binding: function forward-char-and-accept-autosuggestion-if-at-end
set -l right_of_cursor "$(string sub "$(commandline)" --start (math (commandline --cursor) + 2))"
commandline -f forward-char
if test -z $right_of_cursor
commandline -f accept-autosuggestion
end
end
bind l forward-char-and-accept-autosuggestion-if-at-end |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
faho
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yeah vi-mode as some usability issues, we should fix them
as workaround you can use this binding: