My vim only show 16 lines, using terminator, how can i make it back to full screen? It is very annoying. Don't know what settings has to change.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
In response to "can you share some examples of the 'resize' commands used?", this is what I found.
Using bash on Ubuntu (16.04.1), the "resize" command reports the current terminal window size and seems to show commands to resize the window.
$ resize COLUMNS=80; LINES=24; export COLUMNS LINES;
I entered that text as a command, and that did not seem to affect the terminal window size nor vi window size. In my Ubuntu terminal window, vi automatically uses the full of the current terminal window, anyway.
On an embedded linux platform (Technologic TS-4900, Yocto Linux), bash shell, "resize" was not recognized. However, the following shell command changed the vi window size for me.
$ stty rows 40 cols 100
Others have instructed to use "export TERM=xterm" first, but that was not necessary for me.