VIM scroll bar is missing scroll box

60 views
Skip to first unread message

gordo...@gmail.com

unread,
Feb 15, 2017, 1:43:29 AM2/15/17
to vim_use
Thanks for reading.
I am using Terminal VIM and it works very well.
And the scroll bar for Terminal works fine.
But when I run VIM (from Terminal or batch file),
the scroll bar has no "scroll box".
The "scroll box" is that small rectangle indicating
the location of the current window.

Batch file:
@echo off
chdir C:/cygwin64/bin
start mintty.exe -p 0,0 /usr/bin/vim.exe %1

How can I get the scroll bar working for Terminal VIM?
vimnoscrollbox.jpg
cygcheck.out

Christian Brabandt

unread,
Feb 15, 2017, 1:49:05 AM2/15/17
to vim_use
Hi gordon55gg!
Isn't that a question for the cygwin guys?


Best,
Christian
--
Zur tiefsten Freude an dem, was ist, gehört die Freude an dem, was
ist.
-- Karl Foerster

Tony Mechelynck

unread,
Feb 15, 2017, 7:30:50 PM2/15/17
to vim...@googlegroups.com
In Console mode, the scrollbar is a console feature, not a Vim
feature. But Vim will tell you at which "percentage" of the file you
are looking, usually in the bottom-right corner of the current
split-window, where it says one of the following:
All
Top
Bot
nn%
The first three tell you that you see one end, or the other, or both,
of the file, Otherwise it tells you a percentage, from 01% to 99%,
meaning you are at that "percentage point" within the file. If you use
a custom 'statusline' setting, it is the %P element (or you can use %p
instead, for more verbosity).

To get a Vim scrollbar, use gvim (or, on the Mac, macvim) instead of
vim. Then you can set 'guioptions' to have or not have scrollbars on
the left, right and/or bottom depending on some conditions (see ":help
'guioptions' " with the single quotes but not the double quotes).

Best regards,
Tony.

gord...@yahoo.com

unread,
Feb 16, 2017, 1:50:10 AM2/16/17
to vim...@googlegroups.com
Thanks for the pointers.
gordon
> --
> --
> 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
>
> ---
> You received this message because you are subscribed to the Google Groups
"vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to vim_use+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
Reply all
Reply to author
Forward
0 new messages