Tip #16: Avoiding the "Hit ENTER to continue" prompts
tip karma |
Rating 42/23, Viewed by 3725
|
Read and edit this tip on the
Vim tip wiki.
The wiki may have a more recent version of this tip.
created: |
|
February 24, 2001 18:04 |
|
complexity: |
|
basic |
author: |
|
Yegappan |
|
as of Vim: |
|
5.7 |
To avoid the "Hit ENTER to continue" prompt, use the 'shortmess'
option. Add the following line to your .vimrc file:
set shortmess=a
Also, you can increase the height of the command line to 2
set cmdheight=2
The default command height is 1.
To get more help on these options, use
:help hit-enter
:help shortmess
:help cmdheight
<< Displaying status line always |
Erasing previosuly entered characters in insert mode >>
Additional Notes
[email protected],
October 23, 2003 18:33
|
The "Hit ENTER to continue" commands that I find most annoying are actually disabled by setting shortmess="oO" rather than "a". shortmess is set to "filnxtToO" by default, so these messages should not appear by default anyhow.
|
|