Sometimes when I am using neovim to edit cpp files, it glitches while I am editing. For example, I might type a letter and it doesn’t show up. However, when I type another letter, both letters show up. A similar thing happens sometimes when I am deleting letters. I will try to delete one letter and it still remains on the screen. When I delete again, two letters will be deleted. I tried to run neovim without plugins and the issure persisted. I was wondering if anybody could give me some advice on how to fix this. I am using Ubuntu 21.04 and my neovim version is 0.4.4.
This sounds like an issue with your input method/terminal. What’s your
keyboard layout like? Does the problem happen when using a qwerty
layout? What terminal are you using? Have you tried another one?
I am using starship and I am also using the qwerty layout. The problem started after I upgraded from Ubuntu 20.04 to 21.04. I made both of these changes today. I tried to go back to bash, but that isn’t working either.
Which terminal emulator are you using? Did you try on another terminal emulator?
I was using the starship emulator on bash. I went back to bash because the problems started when I used starship. However, even when I switched back to bash, nvim was still lagging. It might also be because I switched to Ubuntu 21.04 from 20.04.