From owner-freebsd-questions@FreeBSD.ORG Sat Sep 6 02:27:15 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E01F1C2B for ; Sat, 6 Sep 2014 02:27:15 +0000 (UTC) Received: from stangl.us (stangl.us [66.93.193.95]) by mx1.freebsd.org (Postfix) with ESMTP id 80C621113 for ; Sat, 6 Sep 2014 02:27:15 +0000 (UTC) Received: from scout.stangl.us (localhost [127.0.0.1]) by scout.stangl.us (Postfix) with ESMTP id 514D517048 for ; Fri, 5 Sep 2014 21:27:08 -0500 (CDT) X-Virus-Scanned: amavisd-new at stangl.us Received: from stangl.us ([127.0.0.1]) by scout.stangl.us (scout.stangl.us [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fhJqK1BlO6p5 for ; Fri, 5 Sep 2014 21:26:58 -0500 (CDT) Received: by scout.stangl.us (Postfix, from userid 1001) id B962117046; Fri, 5 Sep 2014 21:26:58 -0500 (CDT) Date: Fri, 5 Sep 2014 21:26:58 -0500 From: Alex Stangl To: freebsd-questions@freebsd.org Subject: Re: Column ruler (like line numbers) in vi / vim / gvim Message-ID: <20140906022658.GA19618@scout.stangl.us> Mail-Followup-To: freebsd-questions@freebsd.org References: <20140906012327.3320bd39.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140906012327.3320bd39.freebsd@edvax.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Sep 2014 02:27:16 -0000 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