设置默认的行数Vim显示

时间:2016-07-11 08:11:08

标签: vim

我有一个有30行的文件。用Vim打开后,只显示前23行。 enter image description here

这是我的〜/ .vimrc文件

set expandtab
set ts=4
set shiftwidth=4
set autoindent
set cindent
set smartindent
inoremap <C-F>      <C-X><C-F>

我使用mac air默认终端。

任何人都知道如何设置vim默认显示所有30行?

1 个答案:

答案 0 :(得分:1)

问题是终端显示的默认行数... enter image description here

感谢@kent