Friday, November 4, 2011

Re: Using *entire screen* for buffer lines

On 11/04/11 11:17, Elliott Cable wrote:
> My eventual goal here is to use every single line of the screen for
> lines of the active buffer; I've mostly acheived this, but the final
> sticking point is that there seems to be no way to hide/disable the
> last line of the screen (the "command line" or "status line".)

I presume you've already turned off 'laststatus'.

:help 'laststatus'

I already turn off window-chrome on my xterm/rxvt windows using
Fluxbox to gain one extra line, and my gvim (mostly on Win32, as
I don't really use gvim on Linux) doesn't display a menu or
toolbar. I don't know of any way to hide the command-line
right-out (or how deep such assumptions run in the source), but
in a terminal *window*, you can always push the edge of the
terminal one-line's height off the bottom of your screen (it
doesn't work for hard terminal consoles). You could then map
colon/slash/question-mark to the corresponding command-line windows:

:nnoremap : q:o
:nnoremap / q/o
:nnoremap ? q?o

It does change some strange things, since even things like
quitting become ":qa" because you have two windows open (or you
could use ZZ or ZQ to quit). But with a few caveats, it would
allow you to still enter Ex commands without using/seeing the
last-line of the screen.

-tim


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment