After some time, vim stops responding to any actions. The console emulator is responsive. This is definitely not Ctrl+s - Ctrl+q joke and not a layout. Sometimes does not respond to SIGHUP . After a successful SIGHUP says:
Vim: Finished. Hangup After kill -9 , several commands entered in the “embarrassing” state are displayed in the console (move, ex-commands).
kkjjjkk:q Restarting vim does not fix the problem. Restarting the system for a short time is also a random variable.
What could be the problem? No plugins installed (just before this).
UPD .
It seems that uncommenting lines in ~/vimrc helped:
map <C-\> :tab split<CR>:exec("tag ".expand("<cword>"))<CR> map <A-]> :vsp <CR>:exec("tag ".expand("<cword>"))<CR> But I'll never know why?
UPD2 .
Apparently, editing vimrc indirectly somehow eliminated or obscured the problem. There is no composition of the problem and the way to study it
UPD3 .
After a while, the error returned (with the old vimrc). Without it, vim works correctly (see the -u flag). Strace showed that (unlike normal operation) there is an unsuccessful call to ~/vimbak/.swpx . Created it while the flight is normal.
vim -u some_non_exists_filein the mode of configuring the configuration (vim -u some_non_exists_fileand check if the problem repeats. If not, the problem is in the config. If yes, the problem is deeper. - KoVadim