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

Linux

48378 readers
1605 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
16
submitted 4 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]
 

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'
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 4 weeks ago

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