On Tue, 29 Dec 2020, Carl Winbäck wrote:
> 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!
I have good news - many are already implemented, including both of your
examples:
> bind \cf
bind --preset \cf forward-char
> bind \ef
bind --preset \ef forward-word
I wonder if you are in Vi mode instead of the default, Emacs-compatible
mode. Running `fish_default_key_bindings` will put your shell into the
default mode, or there is `fish_hybrid_key_bindings` for a mixture of
both (essentially the union of the two, with Vi bindings taking
preference).
David Adam
zanc...@ucc.gu.uwa.edu.au
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users