Having this strange problem, where when I do

vim ...some_file...

The shell will freeze until I send a signal <Ctrl + C>, and then the vim opens up properly.

I haven't touched anything (.vimrc, .bashrc), so not sure what's happening.

I did upgrade my kernel (and system) today to 5.9.16-1-MANJARO and Vim to:

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Feb 09 2021 23:51:55)
Included patches: 1-2489
Compiled by Arch Linux
Huge version with GTK3 GUI.

EDIT: Even if I do

vim ...some_file...

And then do <Ctrl+Z> and then fg, it will still hang until I send the signal <Ctrl+C>. I haven't done any kernel hacking, either.


Thanks to @D.Ben Knoble, turns out the problem was in some opam configs in .vimrc.

Perhaps something's inconsistent with opam 2.0.8, kernel 5.9.16, and vim 8.2.

Not the answer you're looking for? Browse other questions tagged or ask your own question.