I use neovim in tmux for development and have set up <C-CR> as a keymap for cmp completion. It was working well until just a while ago and I don’t know what happened.

<C-CR> seems to register as a simple <CR> when I’m under tmux and so doesn’t cmp complete in neovim. It’s not a problem with cmp as <C-y> is also bound to that and it does work. It also isn’t a problem with neovim or the terminal emulator itself, as I tried this on foot, alacritty, kitty and gnome-terminal. In all cases, <C-CR> works when not in tmux, but when tmux it doesn’t work. It was working fine just yesterday, and I don’t know why it isn’t now or how to fix it.

Has anyone had this kind of issue or knows how to fix it?

  • akilou
    link
    fedilink
    arrow-up
    5
    arrow-down
    2
    ·
    edit-2
    12 hours ago

    Try the verbose version < Credence Clearwater Revival >