LoginSignup
1
2

More than 5 years have passed since last update.

Vimのオプションのdisplayにlastlineを設定した時の挙動がさっぱりわからなかった

Posted at

まずhelp.
displayと名前がつくものが多くて,他のがいろいろ引っかかってしまった.
どうせ補完ででるだろうけど,とりあえず「:help 'display'@ja」で見れる.

lastline :
これが含まれると、ウィンドウの最後の行ができる限りまで表示される。
含まれないと、最後の行が収まりきらないならその行は "@" と表示される。

と書いてある.
よくわからなかった.

要するに,ウィンドウ全体が
2013-09-25-18:39:29.png
という状態の時に
ウィンドウ高さを1つ減らすと

lastlineが設定されていない場合
2013-09-25-18:42:36.png

latlineが設定されている場合
2013-09-25-18:43:20.png

になる.
たまたまウィンドウの高さだけれども,画面のスクロールなどでも同じ.

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2