Sunday, May 5, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 3640  / 3 Years ago, thu, july 1, 2021, 11:54:34

When I run vim at full screen mode in gnome-terminal, actually it is not really full screen.



There is a little padding on the right and bottom, with the terminal background color.



You can reach the original image to see it more clearly.



enter image description here



How to fix this?


More From » command-line

 Answers
1

You can't make vim inside the terminal actually full screen, unless you're lucky enough that both the width and the height are multiples of the cell size (plus the fixed UI chrome taken into account).



The terminal is a text grid, and if you force it to a maximized size which doesn't match this grid then there's necessarily a margin which is inaccessible to vim.



You probably don't realize it with xterm because xterm's background color is the same black as vim's background color; whereas gnome-terminal's is different.


[#25267] Saturday, July 3, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ndeecru

Total Points: 109
Total Questions: 128
Total Answers: 117

Location: Czech Republic
Member since Thu, Aug 11, 2022
2 Years ago
ndeecru questions
Mon, Jun 20, 22, 04:53, 2 Years ago
Thu, Mar 10, 22, 18:53, 2 Years ago
Thu, Oct 14, 21, 20:53, 3 Years ago
Thu, Apr 28, 22, 10:16, 2 Years ago
;