0

I have pathogen setup however when it finishes loading I have to press the Enter key as shown in this screen shot.
enter image description here

Is there a way how to disable the 'Press Enter or type command to continue' prompt but keep it when other shell scripts are run usng the .vimrc file or another method?

I have had a look at How can I suppress the "press enter" prompt when opening files in diff mode? however the answer looks like it disables the prompt for all scripts when I want it disabled only when pathogen loads.

  • 1
    The only think in my vimrc file for pathogen is execute pathogen#infect() and it does not ask me to hit enter. Are you invoking it differently? – Martin York Mar 11 '15 at 18:24
9

Change the call pathogen#runtime_append_all_bundles() line in your vimrc to call pathogen#infect(), as the message suggests.

  • Beat me to it :-) – Zach Ingbretsen Mar 11 '15 at 18:26
  • Missed that message it gave me! – iProgram Mar 11 '15 at 19:46
  • You may have escaped the Press ENTER gremlin for now, but sooner or later he will be back. When that happens, check out :h press-enter for some tips to avoid him! – joeytwiddle Mar 12 '15 at 17:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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