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
  • 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? Commented Mar 11, 2015 at 18:24

1 Answer 1

9

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

3
  • Beat me to it :-) Commented Mar 11, 2015 at 18:26
  • Missed that message it gave me!
    – iProgram
    Commented Mar 11, 2015 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! Commented Mar 12, 2015 at 17:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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