vim starts, it reads these two files from your home folder:
.vimrc, a configuration file that contains initialization commands
.viminfo, a history file that contains, among others, string and pattern search information
vim may become unresponsive if any of these two files are very large or contain corrupt entries.
vim from reading them, either:
mv .vimrc .vimrc.bak
mv .viminfo .viminfo.bak
~ is shorthand for your home folder.
No such file or directory errors, it just means the file doesn't exist.)
vim as usual:
or, alternatively, start
vim as follows:
vim -u NONE -i NONE
-u NONE option tells
vim not to read
-i NONE achieves the same result for
vim starts normally, you can rename back one file at a time to find the culprit and delete it.
If you want to find out more about the differences between
.viminfo, see this answer. For information on the use of
~, see the Bash or Zsh manual.