Binding ctrl+enter doesn't make any sense. The enter key normally sends a carriage-return; \r
, aka \cM
. In other words, enter is already a control character. So applying the \c
modifier does’t make any sense. In fact, this should cause Fish to generate an error so I’ll open an issue to remind the team to fix that.
Also, you were trying to bind \c\n
. Binding \n
(aka \cJ
) works for Fish 2.2.0 or earlier. But as of 2.3.0 you won’t get the expected result because fish now disables the TTY driver’s icrnl
mode. So Fish will receive the \r
(aka \cM
) character normally sent by the enter key. So you really want to bind \r
(or \cM
). Of course that doesn’t change the fact that that \c\cM
doesn’t make any sense.