2015-04-03 49 views
1

我學習VIM通過VIMTUTOR,在lesson2.1顯示,它說:命令的第一個字符不VIM

NOTE: 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. 

然而,當我輸入「d」,沒有什麼顯示在我的屏幕底部。這是我輸入「d」後vim的屏幕截圖。安裝vim後我沒有改變任何東西。我也嘗試在vim應用程序而不是終端。我輸入「d」後仍然看不到任何東西。我有什麼誤解嗎?我的系統是OS X 10.9.5,vim是7.4.258。 enter image description here

回答

2

在VIMTUTOR類型:

:set showcmd 

默認情況下VIMTUTOR運行作爲普通VIM,沒有任何多餘的設置。要在vim中默認有這種行爲,可以添加

set showcmd 

行到您的.vimrc文件。