14
submitted 2 weeks ago* (last edited 2 weeks ago) by cherrycode@lemmy.ml to c/linux@lemmy.ml

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

seems to register as a simple when I'm under tmux and so doesn't cmp complete in neovim. It's not a problem with cmp as 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, 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?

EDIT: Found a fix, though I don't know why it was working earlier and stopped working suddenly
https://github.com/tmux/tmux/wiki/Modifier-Keys#extended-keys
In tmux.conf, add

set -s extended-keys on
set -as terminal-features 'xterm*:extkeys'
top 4 comments
sorted by: hot top controversial new old
[-] akilou@sh.itjust.works 6 points 2 weeks ago* (last edited 2 weeks ago)

Try the verbose version < Credence Clearwater Revival >

[-] nis@feddit.dk 1 points 2 weeks ago

Take my upvote < Loving' Spoonful >

[-] krolden@lemmy.ml 3 points 2 weeks ago
[-] cherrycode@lemmy.ml 1 points 2 weeks ago

https://pastebin.com/YhzDpVzP
I don't think it's a config issue as I haven't changed it for months now

this post was submitted on 30 Oct 2024
14 points (100.0% liked)

Linux

48186 readers
1300 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS