How do i set up a key binding in fish, so that fish understands not to execute the bindingstring after appending it to commandline but just appending it as string to commandline.
I want to set up a binding that appends
| less by pressing i.e. Alt + Y.
It seems that by default fish understands the command to automatically execute.
I.e. When i type
ls on commandline and then would press Alt + Y it only should complete the command to look like this
ls | less but still not executing it.
i'm trying something like this
bind \ey " \| less"
But fish doesn't accept my syntax