我是Vim的新手。我發現瀏覽顯示幾個條目的舊文件(最近打開的70個文件)。有什麼方法可以控制我想要在「瀏覽舊文件」列表中看到的文件數量。如何顯示固定的Vim條目數瀏覽舊文件
我沒有檢查Vim的幫助,沒有提及如何控制條目數量?
:ol[dfiles] List the files that have marks stored in the viminfo
file. This list is read on startup and only changes
afterwards with ":rviminfo!". Also see |v:oldfiles|.
The number can be used with |c_#<|.
{not in Vi, only when compiled with the |+eval|
feature}
:bro[wse] ol[dfiles][!]
List file names as with |:oldfiles|, and then prompt
for a number. When the number is valid that file from
the list is edited.
If you get the |press-enter| prompt you can press "q"
and still get the prompt to enter a file number.
Use ! to abandon a modified buffer. |abandon|
{not when compiled with tiny or small features}
謝謝。我錯過了幫助中的viminfo部分。 – Anit