9
submitted 2 weeks ago* (last edited 1 week ago) by t0mri@lemmy.ml to c/neovim@programming.dev

idk im having this issue for a long time. itd be nice to have this fixed.

thanks

Edit: I that doesnt help:

  • term=xterm-... in shell config
  • set-option -ga terminal-overrides ",xterm-256color:Tc" in tmux config

solution:

thanks to mazadin for the solution.

im using foo terminal, so setting set-option -ga terminal-overrides ",foot:Tc" in tmux.config fixed it. (yeah im dumb)

you are viewing a single comment's thread
view the rest of the comments
[-] tearsintherain@leminal.space 2 points 2 weeks ago* (last edited 2 weeks ago)

vim or neovim? what terminal emulator are you using? post your nvim init.lua file. try putting both of these in tmux.conf:

set -g default-terminal "xterm-256color"

set-option -ga terminal-overrides ",xterm-256color:Tc"

This is for alacritty terminal emulator + tmux + neovim but may help put you on the right track with whatever te u might be using:

this post was submitted on 28 Jun 2024
9 points (80.0% liked)

Neovim

1979 readers
2 users here now

founded 1 year ago
MODERATORS