I use macOS and fish and C-f and M-f work as you describe in Terminal.app,
and this also seems to be the default behavior:

https://fishshell.com/docs/current/index.html#command-line-editor

So I suspect the problem is not with fish, but some aspect of your
Terminal's configuration. You potentially need to check the "Use Option as
Meta key" in Terminal settings
<https://support.apple.com/en-gb/guide/terminal/trmlkbrd/2.10/mac/10.15.7>
but if emacs keybindings are working in, say, bash, then that's probably
not the issue.



Michael


On Wed, 30 Dec 2020 at 00:06, Carl Winbäck <c...@tunnel53.net> wrote:

> Dear Fish community and Dear Fish developers,
>
> First of all:
>
> Thank you for developing and maintaining such an awesome shell. It’s
> very very good.
>
> I have one question:
>
> Have you considered implementing readline/Emacs key bindings in Fish?
>
> E.g. C-f for moving the cursor forward by one character, M-f for
> moving the cursor to the end of the word, etc.
>
> At least I, as an Emacs and macOS user, find them very convenient for
> quickly moving around using only the keyboard.
>
> Would love to hear the thoughts from the devs regarding this subject!
>
>
> Best regards,
> Carl
>
>
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to