Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Display Vim intermediate commands

Tags:

command

vim

In vimtutor Lesson 2.1: DELETION COMMANDS, there is a note after the #4 item:

The letter d will appear on the last line of the screen as you type it. Vim is waiting for you to type w. If you see another character than d you typed something wrong; press <ESC> and start over.

However, I do not see intermediate commands in the last line as the note says. How do I enable this? What option should I set in my .vimrc?

like image 822
Kit Avatar asked Oct 30 '11 12:10

Kit


1 Answers

You can use

:set showcmd

That will display the commands as you type it in Vim. The same can also be put into .vimrc

like image 153
vishy1618 Avatar answered Nov 15 '22 21:11

vishy1618