79334553

Date: 2025-01-06 23:13:38
Score: 2.5
Natty:
Report link

I do not have an answer, but I am fighting with a "similar" problem on an Ubuntu 24.04.1 LTS.

Here are some notes that may help.

My problem is related to nvim replacing vim and breaking traditional vim functionalities. Specifically if I install nvim with apt, then it overrides vim and its configs, because of aggressive configurations. specifically, I would like to invoke nvim using "nvim" and vim using "vim". I am fine with vi to be associated with whatever the user prefenvimrs.

on this ubuntu, default neovim is currently 0.9.5-6ubuntu2 (normal apt install, as seen from dpkg --list)

If i uninstall nvim with apt uninstall neovim, the system puts back vim in charge, and apparently everything is fine.

I see that nvim installed via snap behaves more correctly than nvim installed via apt. The snap version is nvim 0.10.3

I also experienced weird behaviors (apparently unrelated to nvim) of tmux. when i operate on the last line of the window, it behaves erratically.

Strangely, I have this problem on a machine where i installed Ubuntu on the bare metal. I do not have it on several ubuntu 24.04 WSL. I am quite sure that in the malfunctioning installation, I was installing tmux, vim and later neovim, all with apt install.

uninstalling nvim with apt remove neovim, all the alternatives were reverted to vim.basic. Reinstalling neovim later with apt install neovim did not recreate the alternatives...

Reasons:
  • Blacklisted phrase (1): I have this problem
  • Blacklisted phrase (1): I do not have an answer
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Marco Guardigli