Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2014 21:26:58 -0500
From:      Alex Stangl <alex@stangl.us>
To:        freebsd-questions@freebsd.org
Subject:   Re: Column ruler (like line numbers) in vi / vim / gvim
Message-ID:  <20140906022658.GA19618@scout.stangl.us>
In-Reply-To: <20140906012327.3320bd39.freebsd@edvax.de>
References:  <20140906012327.3320bd39.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 06, 2014 at 01:23:27AM +0200, Polytropon wrote:
> As a grown-old mainframe person, I'm thinking about something
> like this:
> 
> |...+....1....+....2....+....3....+....4....+....5....+....6
> Or even this:
> 
>          1         2         3         4         5         6
> ----+----0----+----0----+----0----+----0----+----0----+----0
> 
> The ruler should be located in the first line on top of the file,
> but not be part of the file.

Hi Polytropen,

Check out
http://vim.1045645.n5.nabble.com/Horizontal-Ruler-in-interface-td5590000.html

I just tried the last suggestion on that page (from Christian Brabrandt)
and it works great, and can be easily adapted to any of the formats you
like. To make the ruler go away, you can type Ctrl-W o

It's not clear how you want the ruler to work in wrap mode,
so maybe that doesn't work as you like.

Regards,

Alex



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140906022658.GA19618>