metwork-framework / mfextaddon_vim

opinionated vim editor (and configuration) for use in metwork framework env (with python3 or python2)
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

feat: upgrade vim from 8.2 to 9.0 #70

Closed thebaptiste closed 1 year ago

matthieumarrast commented 1 year ago

I start testing VIM v9. First opening shows image Bad charachter "[?4m" on line 1. I'll try to figure it out.

matthieumarrast commented 1 year ago

(using the Gnome Terminal in a Rocky 8.5) This issue is related to the terminal. Executing export TERM=gnome-256color fix this issue. As per solution found here : https://vi.stackexchange.com/questions/27399/whats-t-te-and-t-ti-added-by-vim-8/

matthieumarrast commented 1 year ago

issue referenced here on vim repository : https://github.com/vim/vim/issues/11728 several bypasses are proposed, i'm gonna test

matthieumarrast commented 1 year ago

I'm gonna push

set keyprotocol=
let &term=&term

in vimrc, as proposed here https://github.com/vim/vim/issues/11728 and here https://vimhelp.org/options.txt.html#%27keyprotocol%27

tested OK with gnome-term (rocky) and xterm (moba)