vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] Are there any table editing add-ons/macros/whatever for vile?


From: Thomas Dickey
Subject: Re: [vile] Are there any table editing add-ons/macros/whatever for vile?
Date: Thu, 19 Jan 2012 17:21:34 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Jan 19, 2012 at 05:32:42PM +0000, Chris Green wrote:
> As per the subject line are there any 'extras' for [x]vile that help
> with editing tables?  That's tables as in text laid out in columns with,
> possibly, some characters used to form the borders.
> 
> A typical use would be in creating and editing tables for docutils'
> reStructuredText or (in my case) DokuWiki's mark-up language.

hmm - no.

Reading the descriptions of these, I see they're similar-but-different.  If I
were editing something like those, my first inclination would be to look for
(or make) a simple nroff-style formatter that I could use vile to display the
target markup as it is shown in their respective manuals.

That's simply because the tables rapidly will get kind of ragged-looking.

However, for macros - this would be something better suited to making
a Perl script than vile's scripting.  It could be invoked as part of the
Perl binding, or as a filter.

I see that there are Emacs modes,

        http://docutils.sourceforge.net/docs/user/emacs.html

including one for drawing the table lines (without giving a clue whether the
editing is limited to the cells, or whether it's possible to accidentally move
a border):

        http://table.sourceforge.net

Unless you had a program that can reformat things and tidy them up into
a more/less canonical form, then editing would be tedious.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]