1
I had tried to create some accept completion and execute right away combination in fish on pressing Ctrl+Enter.
function fish_user_key_bindings
bind \c\n accept-autosuggestion execute
end
Unfortunately this attempt fails. Looks like fish doesn't like two escaped chars:
#bind -a ... bind \\c\\n accept-autosuggestion execute
Any better ideas?
Github issue 3162 opened to track enhancing fish to warn about doing non-sensical things like applying the
\c
modifier to a control character. – Kurtis Rader – 2016-06-22T04:40:44.283