tpope / vim-pathogen

pathogen.vim: manage your runtimepath

Home Page:http://www.vim.org/scripts/script.php?script_id=2332

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Press ENTER or type command to continue" each time I launch Vim after Pathogen Install.

Rz-Rz opened this issue · comments

commented

Hello, first thanks for the great plugin it changed my life by allowing me to use mattn webapi. I use execute pathogen#infect() at the start of my vimrc. I installed pathogen for this:
let g:user_emmet_settings = webapi#json#decode(join(readfile(expand('~/.snippets_custom.json')), "\n"))
Everything works perfectly fine except for the message "Press ENTER or type command to continue" each time I launch Vim.

When I comment execute pathogen#infect() I do not have this message anymore. I have tried to comment out the webapi instead but the message is still there. It seems to be related to pathogen then. I have tried to use the call method, but the message is still there(found this possible solution here https://vi.stackexchange.com/questions/2499/prevent-press-enter-when-pathogen-loads-but-keep-for-other-scripts).
I also tried this: set shortmess=a in .vimrc . But it still gives me the Press Enter or... prompt, it just doesn't take the entire screen anymore(empty screen). (Found the solution here https://stackoverflow.com/questions/34739736/vim-shows-press-enter-or-type-command-to-continue-when-start).
I did not find other solutions.
My config is typical, just I use vim plug for other plugin management.