2013-02-27 40 views
2

我已經習慣了最近兩週使用vim,並且真的很喜歡它。有一件事我一直都在懷疑 - 有時,當我打字什麼的,這些行與只是@符號出現在屏幕的底部:gvim @符號在屏幕左下角是什麼意思?

Screenshot of vim notes I was taking when I noticed this - 2 @ rows at bottom of the screen

這已經發生了幾次但我從來沒有注意到它,但我很好奇 - 就像在這種情況下,按下輸入擺脫其中一個,並再次按下輸入擺脫其他。然後又有兩個進入,另一個@行出現。有人知道他們的意思嗎?

回答

6

這通常發生在打開一個非常大的文件(或非常長的行)時。

您可以設置display選項來顯示所有行。 (不顯示那些@)。

lastline When included, as much as possible of the last line 
     in a window will be displayed. When not included, a 
     last line that doesn't fit is replaced with "@" lines. 

例如,在我的vimrc,我有set display=lastline

,如果你想了解它的細節,檢查:h 'display'

+1

哦......這是有道理的!爲此歡呼;這是一個很難用谷歌來形容的問題之一! – xdl 2013-02-27 23:33:43

3

這意味着你有一條線比你的終端的高度和寬度都大。