Vi only show 16 lines, how to show full screen?
Solution 1:
- You may try resizing your terminal to force vim to recalculate its size;
- You may try quitting your vim session, typing
reset
and restarting vim; - Inside vim you may try something like:
:set lines=34
Solution 2:
Use the following commands to enable the full screen:
export TERM=xterm
stty rows 36 cols 150
Solution 3:
I had the same issue in a docker container, I did that:
export set LINES=58
Solution 4:
reopen your vim session after entering "resize" command in your linux terminal. It worked for me.