Date: Tue, 23 Nov 1999 21:40:41 +0000 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: James A Wilde <james.wilde@telia.com> Cc: freebsd-questions@freebsd.org Subject: Re: Programmers' editor? Message-ID: <19991123214041.A316@marder-1> In-Reply-To: <009901bf35ee$d892ef60$8208a8c0@iqunlimited.net> References: <38375433.193946BF@sasknow.com> <009901bf35ee$d892ef60$8208a8c0@iqunlimited.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 23, 1999 at 09:10:49PM +0100, James A Wilde wrote:
> Related question from a greenhorn.
>
> Most of my editing is administrative editing of configuration files
> and the like. For that vi is a pita with all that programmers crap.
> The only functionality I use is x for delete, i for input, Alt $
> for goto eol (I don't know how you get to the beginning) and d with
> the down arrow to remove two lines, which means that I often have
> to insert a line first in order to delete the one line I need to
> remove.
>
0 (that's a zero) to go to the beginning of a line
dd to delete the current line
ndd (where n is a number) to delete n lines (the current one and
n-1 subsequent lines
If you type ``:viusage'' it will give you a list of commands.
> Is there for UNIX something with the lack of complexity of the DOS
> edit program? Simple marking, cutting, pasting is all I really
> need.
>
Look in the editors section of the ports/pcakages, read the
descriptions, install one or more, try them out, then delete the
ones you don't like. This is not flippant answer; editors are a
real personal preference (religious wars are fought over vi versus
emacs) so only you can know which you consider a good choice for
your needs. Personally I use vi(1) all the time, even on Windows
boxes :)
> Thanks for any tips.
>
> mvh/regards
>
> James Wilde
>
> ----- Original Message -----
> From: Ryan Thompson [FreeBSD] <freebsd@sasknow.com>
> To: <freebsd-questions@FreeBSD.ORG>
> Sent: Sunday, November 21, 1999 03:08
> Subject: Programmers' editor?
>
>
> > Hi all;
> >
> > As many of us here are programmers, and do so in FreeBSD, I reasoned
> > that this would be great place to find out what console text editors
> > people use. Before this thread even gets going, though, let's remember
> > not to start a flamewar, and move relevant parts to -chat :-)
> >
> > I currently use lpe (I downloaded/compiled, but there's a slightly dated
> > version available in ports, last time I checked). I do a great deal of
> > development in Perl and Java, with copious amounts of C(++) and HTML
> > thrown in. lpe handles the syntax highlighting for all of these (and
> > the colours aren't that bad, either :-) The only things I find (more
> > than slightly) annoying about lpe is its lack of auto-indent, and lack
> > of configuration options (most, if not all persistent configuration
> > options must be compiled in). Not-so-slightly annoying is its lack of
> > automatic indents (i.e. tab width indent after a curly { brace).
> > Admittedly, lpe isn't built for power, but it turns out to be a good
> > all-around editor.
> >
> > If I had a large programming project sprawled over many source files,
> > admittedly, I'd move over to something more like emacs... But, for the
> > day to day edits and smaller projects, lpe is about the best I've found,
> > and walks with a very small footprint.
> >
> > Feel free to 'disagree' with me; I'd like to see what others are using.
> >
> > --
> >
> > Ryan Thompson
> > VP Technical/Accounts
> > ryan@sasknow.com
> > (306) 664-1161
> >
> > SaskNow Technologies
> > http://www.sasknow.com
> > #106-380 3120 8th Street East
> > Saskatoon, Sask S7H 0W2
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
--
PERL has been described as "the duct tape of the Internet"
and "the Unix Swiss Army chainsaw"
- Computer Shopper 12/99
________________________________________________________________
FreeBSD - The Power To Serve http://www.freebsd.org
My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org http://www.radan.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991123214041.A316>
