Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8527049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:26:46+00:00 2026-06-11T08:26:46+00:00

I have noticed that when I start the day and open vim, then use

  • 0

I have noticed that when I start the day and open vim, then use :Exp, I get the “Press ENTER or type command to continue” prompt. Usually this is shown when an external command is executed. I don’t remember :Exp doing this in the past(?). Further, the prompt is only displayed upon the first use of netrw?!

Although trivial, I find this annoying. Does anyone have an idea why netrw is doing this? I have been removing various things in my .vimrc to see if they change anything, but I could be here a long time…

Steps to reproduce:

  • Open vim or gvim
  • :Exp (followed by enter)
  • Prompt appears.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T08:26:48+00:00Added an answer on June 11, 2026 at 8:26 am

    The contents of v:scrollstart can be used to get a clue of why this is happening.

    There are some options that may be related to the problem.
    From vim-faq:

      Vim will prompt you with the "hit enter to continue" prompt, if there are
      some messages on the screen for you to read and the screen is about to be
      redrawn.  You can add the 'T' flag to the 'shortmess' option to truncate
      all messages. This will help in avoiding the hit-enter prompt: 
    
          :set shortmess+=T
    
      You can also increase the command height by setting the 'cmdheight' option: 
    
          :set cmdheight=2
    
      For more information, read 
    
          hit-enter
          avoid-hit-enter
          'shortmess'
          'cmdheight'
    

    Edit:

    From :h netrw-problems:

    P10. I'm being pestered with "[something] is a directory" and
         "Press ENTER or type command to continue" prompts...
    
        The "[something] is a directory" prompt is issued by Vim,
        not by netrw, and there appears to be no way to work around
        it.  Coupled with the default cmdheight of 1, this message
        causes the "Press ENTER..." prompt.  So:  read |hit-enter|;
        I also suggest that you set your |'cmdheight'| to 2 (or more) in
        your <.vimrc> file.
    

    You should also check if you are using the latest plugin version, as there is a bug fix on version 71 that is related to your problem:

    v71:           * bugfix -- made some "set nomodifiable"s into
               :
               :
               * When ch=1, on the second and subsequent uses of
                 browsing Netrw would issue a blank line to clear
                 the echo'd messages.  This caused an annoying
                 "Hit-Enter" prompt; now a blank line message
                 is echo'd only if &ch>1.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently noticed that a lot of JavaScript files on the Web start
I have noticed that it is possible to define a custom class and then
I have noticed that most Objective-C coders never use the self->ivar syntax when accessing
I have noticed that most Javascript methods (framework and custom) start with lowercase letters.
I have noticed that on occasion Internet Explorer running Silverlight 4 fails to start
I have noticed that after awhile of debug/tweakcode/debug etc that eventually Silverlight starts to
We have noticed that component publishing takes a long time. The component we are
I have noticed that if you add a unobtrusive link in a refreshable partial
I have noticed that deleted branches in svn is not preserved in git. I
I have noticed that ie tends to put the thread for a tab to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.