: Well, "vim" can; and the "vim.reference.txt" says that vi doesn«t have such
: a feature:
[snip]
vile also has this capability which is available via ":set [no]ruler".
There are also additional mechanisms to change the layout of the modeline
if you do not like the default. If "ruler" mode is on, the line and column
number are displayed at the lower right along with a percentage indicator
which shows the approximate position within the buffer (e.g, 12%). I use
xvile most of the time and did not really want the percentage indicator
since this functionality is more or less duplicated by just looking at the
position of the scrollbars. So I customized this indicator out of the
modeline in the initialization file.
If you want line numbers then type
:set number
If you want column numbers then just make a ruler and read it into your text
when you need it.
Beirne
--
Beirne Konarski | Subscribe to the Unicycling Mailing List
bkon...@mcs.kent.edu | Send requests to unicyclin...@mcs.kent.edu
Kent State University | Unicycling Web Page:
"Untouched by Scandal" | http://nimitz.mcs.kent.edu/~bkonarsk/
Well, "vim" can; and the "vim.reference.txt" says that vi doesn«t have such
a feature:
ruler (ru) toggle (default off)
Show the line and column number of the cursor position in the status
line, separated by a comma. If there are characters in the line that
take two positions on the screen, both the "real" column and the
screen column are shown, separated with a dash. This option is reset
when the 'paste' option is set. {not in Vi}
Sven
--
[950621] "VIM Pages" ("vi improved") - free vi! UNIX, DOS, OS/2, Mac, ...
Home Page: http://www.inf.fu-berlin.de/~guckes/vim/
Sample vimrc: http://www.inf.fu-berlin.de/~guckes/setup/vimrc
type
:set number
thats all.
Bye Steffen
--
--------------------------------------------------------------------------------
Steffen K"ohler
Department of Computer Science
Friedrich-Schiller-Universit"at Jena
Hi,
type
CTRL-G
or
72|
for FORTRAN sources
--
Tobias Voegele, Institut fuer Technische Thermodynamik, Universitaet Karlsruhe
Kaiserstrasse 12, D-76128 Karlsruhe, Tel.: 0721/608-3932
================================================================================
If the automobile had followed the same development as the computer,
a Rolls-Royce would today cost $100, get a million miles per gallon,
and explode once a year killing everyone inside. --Robert Cringley
: type
: :set number
: thats all.
:set ruler
gives a running account of what line you're on in lower right
:set number
numbers the lines down the left of screen
to have either or both make a file .exrc in your home dir
that sez:
set ruler
set number
I like having the ruler on all the time & the number option
I just turn on for scripts