From: Stephen Campbell <steve () avalon ! dartmouth ! edu>
To: tru64-unix-managers
Subject: vi search results positioning
Date: Fri, 20 Jan 1995 15:45:16 +0000 [thread overview]
Message-ID: <96075316706563.tru64-unix-managers.marc@archive.invalid> (raw)
Here's a little annoyance I've observed under the last several releases of
OSF/1 up to and including 2.1. In vi(1), if I search downwards in a file,
vi redraws the screen so that the found line is in the middle of the screen.
If I search upwards, vi redraws the screen so that the found line is at the
top of the screen. I would rather it always positioned the found line in the
middle of the screen (assuming of course that there are enough lines above
and below the found line). Is there a way to make vi do that?
Incidently, the vi shipped with Ultrix 4.4 (RISC) always positions the line in
the middle of the screen.
For completeness, here are the vi options for my OSF/1 vi:
:set all
autoindent nomodeline noshowmode
autoprint nonumber noslowopen
noautowrite nonovice nosourceany
nobeautify nooptimize tabstop=8
closepunct='".,;)]} paragraphs=IPLPPPQPP LIpplpipbp taglength=0
directory=/var/tmp partialcharacter=- tags=tags /usr/lib/tags
noedcompatible prompt term=xterm
noerrorbells noreadonly noterse
noexrc redraw timeout
flash remap ttytype=xterm
hardtabs=8 report=5 warn
noignorecase scroll=17 window=34
nolisp sections=NHSHH HUuhsh+c wrapscan
nolist shell=/usr/bin/csh wrapmargin=0
magic shiftwidth=8 nowriteany
mesg noshowmatch wraptype=word
next reply other threads:[~1995-01-20 15:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-01-20 15:45 Stephen Campbell [this message]
-- strict thread matches above, loose matches on Subject: below --
1995-01-20 17:37 vi search results positioning Dr. Tom Blinn, 603-881-0646
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox