Re: Vim vs Elvis -- was Mutt's Editor

2000-10-16 Thread will trillich
On Sat, Oct 14, 2000 at 10:00:15AM -0700, Pann McCuaig wrote:
 If you want vim to be really useful you need the vim-rt package as well.
 I suspect that tips the balance.

okay, so i
# apt-get install vim vim-rt
and vi still points to elvis, so i
# update-alternatives --install `which vi` vi /usr/bin/vim 150
to use vim as default vi, and immediately
run into syntax difficulties in my ~/.exrc which i fix...

i get no syntax hilighting at all (the 'file ends here, so
we'll show a tilde from here own down' is blue but that's all
that's colored).

i see there are kahuna mongo syntax files in what appears to
be a settings dir at /usr/share/vim/vim56/syntax/* which would
apparently be selected by /usr/share/vim/vim56/filetype.vim
if it were called from the appropriate place at the appropriate
time...

how is that supposed to be set up? did i overlook something?
(snootyelvis worked all spiffy right out of the box/snooty...)

-- 
self-reference, n: see self-reference.

[EMAIL PROTECTED] *** http://www.dontUthink.com/



Re: Vim vs Elvis -- was Mutt's Editor

2000-10-16 Thread Eric G . Miller
On Sun, Oct 15, 2000 at 11:56:16PM -0500, will trillich wrote:
 On Sat, Oct 14, 2000 at 10:00:15AM -0700, Pann McCuaig wrote:
  If you want vim to be really useful you need the vim-rt package as well.
  I suspect that tips the balance.
 
 okay, so i
   # apt-get install vim vim-rt
 and vi still points to elvis, so i
   # update-alternatives --install `which vi` vi /usr/bin/vim 150
 to use vim as default vi, and immediately
 run into syntax difficulties in my ~/.exrc which i fix...

Try:
  o moving that ~/.exrc to something else
  o makings a symbolic link to /usr/share/vim/vimrc
  o creating a ~/.vimrc file (use /etc/vimrc as starting point)

 i get no syntax hilighting at all (the 'file ends here, so
 we'll show a tilde from here own down' is blue but that's all
 that's colored).
 
 i see there are kahuna mongo syntax files in what appears to
 be a settings dir at /usr/share/vim/vim56/syntax/* which would
 apparently be selected by /usr/share/vim/vim56/filetype.vim
 if it were called from the appropriate place at the appropriate
 time...
 
 how is that supposed to be set up? did i overlook something?
 (snootyelvis worked all spiffy right out of the box/snooty...)

Vim apparently doesn't like your .exrc (or it's preventing it from using
the rest of the vim runtime files).

-- 
/bin/sh ~/.signature:
Command not found



Re: Vim vs Elvis -- was Mutt's Editor

2000-10-16 Thread Dwight Johnson
On Sun, 15 Oct 2000, will trillich wrote:

 On Sat, Oct 14, 2000 at 10:00:15AM -0700, Pann McCuaig wrote:
  If you want vim to be really useful you need the vim-rt package as well.
  I suspect that tips the balance.
 
 okay, so i
   # apt-get install vim vim-rt
 and vi still points to elvis, so i
   # update-alternatives --install `which vi` vi /usr/bin/vim 150
 to use vim as default vi, and immediately
 run into syntax difficulties in my ~/.exrc which i fix...
 
If VIM finds a .vimrc file in $HOME, it comes up in nocompatible mode.
Otherwise, it comes up in VI compatible mode.

 i get no syntax hilighting at all (the 'file ends here, so
 we'll show a tilde from here own down' is blue but that's all
 that's colored).
 
Try this:

$ vim .vimrc

Place 'syntax on' in your .vimrc. In command mode, enter ':syntax on' and
start to experience syntax highlighting.

While still open in VIM, enter ':help' in command mode. This is your VIM
help resources. In command mode, enter ':help syntax' or ':help color'.
Learn here more about all the different kinds of color highlighting.

 i see there are kahuna mongo syntax files in what appears to
 be a settings dir at /usr/share/vim/vim56/syntax/* which would
 apparently be selected by /usr/share/vim/vim56/filetype.vim
 if it were called from the appropriate place at the appropriate
 time...
 
 how is that supposed to be set up? did i overlook something?

See above.

For the VIM user community, post on the 'comp.editors' newsgroup.

Dwight
--
Dwight Johnson
[EMAIL PROTECTED]



Re: Vim vs Elvis -- was Mutt's Editor

2000-10-16 Thread Damien
 i get no syntax hilighting at all (the 'file ends here, so
 we'll show a tilde from here own down' is blue but that's all
 that's colored).

from the docs (place in .vimrc):


 Colour support and syntax highlighting  

 Some systems have a terminfo entry for rxvt and have an xterm terminfo 
 entry without color support. Use the COLORTERM environment variable 
 rxvt sets to enable colours in it.
:if $COLORTERM == rxvt
:  set term=rxvt
:endif
:if term == rxvt
:  set t_Co=8
:  set ttyfast
:endif

 Colours suitable for a dark background, which is what my Linux console,
 xterms and rxvts are configured to have.
set background=dark
syntax on


--

it should work in gvim automatically

cheers
 damien



pgpLorWaQurCt.pgp
Description: PGP signature


Re: Vim vs Elvis -- was Mutt's Editor

2000-10-15 Thread Damien
 what's this dependency thing listed for vim-rt? seems odd:
 
 recommended:
   vim
 suggested:
   exuberant-ctags
   or elvis
 
 eh? elvis?
 

vim-rt is basically all the vim support files. vim supports ctags, but it
doesn't include its own tags file generator. thus you need either a seperate
package (exuberant), or elvis (which includes its own)

ctags and quickfix editing (called cc error correction or something in elvis,
iirc) are the two best things that happened to software development ;o)

cheers

 damien


pgpoOzGRpd8AD.pgp
Description: PGP signature


Re: Vim vs Elvis -- was Mutt's Editor

2000-10-14 Thread will trillich
On Fri, Oct 13, 2000 at 12:51:24PM -0500, Jeff Howie wrote:
 I cut my teeth on vim (4.x or so). and haven't looked back.
 
 On Fri, Oct 13, 2000 at 11:59:06AM -0500, will trillich wrote:
  emacs fans, please turn the other cheek--
  how does vim compare to elvis? which is the resource hog?
 
 Not sure about that, but I would assume that vi(elvis) would be on
 the leaner side (less features = smaller footprint?).

according to packages.debian.org/vim:

stable18%   vim 5.6.070-1   (309.4k)
Vi IMproved - enhanced vi editor

according to packages.debian.org/elvis:

stable17%   elvis 2.1.4-1   (493k)
A much improved vi editor with syntax highlighting.

elvis's blue suede shoes look more piggish than vim's. nearly
by a factor of 2? or is it just docs?

-- 
things are more like they used to be than they are now.

[EMAIL PROTECTED] *** http://www.dontUthink.com/



Re: Vim vs Elvis -- was Mutt's Editor

2000-10-14 Thread Andre Berger
will trillich [EMAIL PROTECTED] writes:

 emacs fans, please turn the other cheek--
 
 how does vim compare to elvis? which is the resource hog?
 which does better syntax highlighting? which makes your teeth
 whiter?

Is there anything like reftex for vim?

-- Andre



Re: Vim vs Elvis -- was Mutt's Editor

2000-10-14 Thread Miquel van Smoorenburg
In article [EMAIL PROTECTED],
Pann McCuaig  [EMAIL PROTECTED] wrote:
I still use nvi on occasion 'cause it will show me ^M's in a file and
it's easier to `nvi file` than to look up how to get vim to do it.  ;-

vim -b file (binary mode). Also handy to edit binaries to change
hardcoded strings or pathnames.

Mike.



Re: Vim vs Elvis -- was Mutt's Editor

2000-10-14 Thread will trillich
On Sat, Oct 14, 2000 at 10:10:35AM +0200, Andre Berger wrote:
 will trillich [EMAIL PROTECTED] writes:
 
  emacs fans, please turn the other cheek--
  
  how does vim compare to elvis? which is the resource hog?
  which does better syntax highlighting? which makes your teeth
  whiter?
 
 Is there anything like reftex for vim?

i haven't the faintest idea. not much of a tex person, here.

-- 
things are more like they used to be than they are now.

[EMAIL PROTECTED] *** http://www.dontUthink.com/



Re: Vim vs Elvis -- was Mutt's Editor

2000-10-14 Thread will trillich
On Sat, Oct 14, 2000 at 09:25:53AM +, Miquel van Smoorenburg wrote:
 In article [EMAIL PROTECTED],
 Pann McCuaig  [EMAIL PROTECTED] wrote:
 I still use nvi on occasion 'cause it will show me ^M's in a file and
 it's easier to `nvi file` than to look up how to get vim to do it.  ;-
 
 vim -b file (binary mode). Also handy to edit binaries to change
 hardcoded strings or pathnames.

in elvis, we can :disp hex (or just :di he for short) and get
nice color-coded hex editing (elvis works hard to determine file
type when the buffer is first filled -- there's even a perl errormsg
work around for :cc syntax checking). and a quick ^Wd toggles between
syntax and normal display modes.

elvis reads html files and becomes a fully-net-enabled console web browser
with hot links and other highlighting!  (^Wd to display the html syntax
instead.) in fact, that's how the elvis online help is displayed.

(and elvis does have a TeX display mode, for those who inquired...)

--

vim may have all these features too, but i wouldn't know, having
found elvis ...

i was hoping someone knew both and could differentiate the two.

-- 
things are more like they used to be than they are now.

[EMAIL PROTECTED] *** http://www.dontUthink.com/



Re: Vim vs Elvis -- was Mutt's Editor

2000-10-14 Thread Michael P. Soulier
On Sat, Oct 14, 2000 at 06:16:48AM -0500, will trillich wrote:
  
  Is there anything like reftex for vim?
 
 i haven't the faintest idea. not much of a tex person, here.

I do a lot of LaTeX in Vim. What's reftex?

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort.  -Harley Hahn, A Student's Guide to UNIX
PGP Public Key: http://www.storm.ca/~msoulier/personal.html



Re: Vim vs Elvis -- was Mutt's Editor

2000-10-14 Thread Michael P. Soulier
On Sat, Oct 14, 2000 at 06:44:26PM +0200, Paul Seelig wrote:

 RefTeX is besides AUCTeX the second best reason to use any kind of
 Emacsen for one's LaTeX editing.  The first best reason for it is
 AUCTeX... ;-)
 
 I've learned LaTeX a few years ago with vim actually but after having
 become aquainted with AUCTeX/RefTeX on (X)Emacs i finally found a
 reason to start learning Emacsen stuff and have never looked back.
 
 Just because an (X)Emacs is some sort of Emacsen is no reason to be
 excited about it - but add-ons like AUCTeX/RefTeX and so on definitely
 are.  So don't count me in as an (X)Emacs user, but an avid user of
 AUCTeX/RefTeX, Gnus, and whatever, who actually doesn't really care
 about the editor beneath.  ;-)
 
 While i still like and eventually use vi for for quick editing tasks,
 i doubt it's even possible to reach that kind of automized high-level
 LaTeX support as encountered in AUCTeX/RefTeX under the vi paradigm.

Should be on the CTAN then. 
http://www.dante.de/cgi-bin/ctan-index

I just can't stand (X)Emacs. I learned it and used it for 6 months, but as
I do a lot of Perl, and the perl modes are horribly broken, I gave up on it
and went back to Vi. Then I found Vim, and I haven't looked back. 

Some help with LaTeX tags would be nice, but I have a whole list of
abbreviations and some macros that do nicely for me. 

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort.  -Harley Hahn, A Student's Guide to UNIX
PGP Public Key: http://www.storm.ca/~msoulier/personal.html



Re: Vim vs Elvis -- was Mutt's Editor

2000-10-14 Thread Pann McCuaig
On Fri, Oct 13, 2000 at 23:56, will trillich wrote:
 On Fri, Oct 13, 2000 at 12:51:24PM -0500, Jeff Howie wrote:
  I cut my teeth on vim (4.x or so). and haven't looked back.
  
  On Fri, Oct 13, 2000 at 11:59:06AM -0500, will trillich wrote:
   emacs fans, please turn the other cheek--
   how does vim compare to elvis? which is the resource hog?
  
  Not sure about that, but I would assume that vi(elvis) would be on
  the leaner side (less features = smaller footprint?).
 
 according to packages.debian.org/vim:
 
 stable18%   vim 5.6.070-1   (309.4k)
 Vi IMproved - enhanced vi editor
 
 according to packages.debian.org/elvis:
 
 stable17%   elvis 2.1.4-1   (493k)
 A much improved vi editor with syntax highlighting.
 
 elvis's blue suede shoes look more piggish than vim's. nearly
 by a factor of 2? or is it just docs?

If you want vim to be really useful you need the vim-rt package as well.
I suspect that tips the balance.

Cheers,
 Pann
-- 
geek by nature, Linux by choice L I N U X   .~.
The Choice  /V\
http://www.ourmanpann.com/linux/ of a GNU  /( )\
Generation ^^-^^



Re: Vim vs Elvis -- was Mutt's Editor

2000-10-14 Thread will trillich
On Sat, Oct 14, 2000 at 10:00:15AM -0700, Pann McCuaig wrote:
 On Fri, Oct 13, 2000 at 23:56, will trillich wrote:
  according to packages.debian.org/vim:
  
  stable18%   vim 5.6.070-1   (309.4k)
  Vi IMproved - enhanced vi editor
  
  according to packages.debian.org/elvis:
  
  stable17%   elvis 2.1.4-1   (493k)
  A much improved vi editor with syntax highlighting.
  
  elvis's blue suede shoes look more piggish than vim's. nearly
  by a factor of 2? or is it just docs?
 
 If you want vim to be really useful you need the vim-rt package as well.
 I suspect that tips the balance.

i'd say!

what's this dependency thing listed for vim-rt? seems odd:

recommended:
vim
suggested:
exuberant-ctags
or elvis

eh? elvis?

see http://packages.debian.org/vim-rt

-- 
things are more like they used to be than they are now.

[EMAIL PROTECTED] *** http://www.dontUthink.com/



Re: Mutt's Editor

2000-10-13 Thread YoonSuk Cho[EMAIL PROTECTED]
On Thu, Oct 12, 2000 at 09:21:53PM -0400, Joel Dinel wrote:
 I'd want to use VIM as my primary text editor in Mutt. What line do I need to 
 add to my ~/.vimrc ?
 
 Thanks !
 
If you want vim in mutt add the one line in ~$HOME/.muttrc.

set editor=/usr/bin/vim  like this.

good luck...!!


 -- 
 
 Joel Dinel
 [EMAIL PROTECTED]
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null

-- 
YoonSuk Cho [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]
GPG Key fingerprint 
C37A 57CF BBBF 7F01 E4E4  92D5 B4C2 2245 A4C9 E7EF
/./. oOoOo
Funny..Geek Code
oOoOo Version: 3.12 oOoOo
oOoOo GCS d- s+: a- C++ UL+++ P+ L+++ E- W++ N++ o+ K- w--  oOoOo
oOoOo O- M V- PS+ PE Y-- PGP++ t 5 X- R tv- b+ DI--- D-  oOoOo
oOoOo G++ e++ h* r !y+  oOoOo



Re: Mutt's Editor

2000-10-13 Thread Jeff Howie
On Fri, Oct 13, 2000 at 01:15:45PM +1100, Damon Muller wrote:
 Quoth Nate Bargmann, 
  In ~./mutt/muttrc check this line:
  set editor=/usr/bin/vim
 
 You may also want to include the contents of
 /usr/share/doc/vim/examples/mail in your ·/.vimrc - it does cool things
 like colour signatures and quoted mail (different colours for different
 levels of quotes), and also lets you use the `qv' command to re-wrap
 quoted lines (very handy for replying to those inconsiderate people who
 don't know how to wrap their messages at 72 lines!).

(...pouting...)
How come _I_ don't have that file? What, are you special or something?
;^
What version of vim are you using? Mine's 5.5.



Re: Mutt's Editor

2000-10-13 Thread Damon Muller
Quoth Jeff Howie, 
 (...pouting...)
 How come _I_ don't have that file? What, are you special or something?
 ;^
 What version of vim are you using? Mine's 5.5.

+++-==-==-
ii  vim-rt 5.6.070-1  Vi IMproved - runtime support files

It's not actually in the vim package, but rather the vim-runtime
package, which is recommended (but not required) by vim. I've been using
it for ages with my mail, so I don't think it's a really new thing.

If you still can't find it, mail me off-list, and I'll send it to you
(no need to clutter up the list with this sort of thing).

cheers,

damon

-- 
Damon Muller  | Did a large procession wave their torches
Criminologist/Linux Geek  | As my head fell in the basket,
http://killfilter.com | And was everybody dancing on the casket...
PGP (GnuPG): A136E829 |  - TBMG, Dead


pgpPEZ2wYCRJa.pgp
Description: PGP signature


Re: Mutt's Editor

2000-10-13 Thread David A. Rogers
On Fri, 13 Oct 2000, Jeff Howie wrote:

 On Fri, Oct 13, 2000 at 01:15:45PM +1100, Damon Muller wrote:
  Quoth Nate Bargmann, 
   In ~./mutt/muttrc check this line:
   set editor=/usr/bin/vim
  
  You may also want to include the contents of
  /usr/share/doc/vim/examples/mail in your ?/.vimrc - it does cool things
  like colour signatures and quoted mail (different colours for different
  levels of quotes), and also lets you use the `qv' command to re-wrap
  quoted lines (very handy for replying to those inconsiderate people who
  don't know how to wrap their messages at 72 lines!).
 
 (...pouting...)
 How come _I_ don't have that file? What, are you special or something?
 ;^
 What version of vim are you using? Mine's 5.5.

Make sure you have installed both the vim _and_ the vimrt (or was that
vim-rt?) debs.  I would have thought that the maintainer would make vim
dependent on vim-rt, but that's not the way it is.

-- 
Against stupidity, the gods themselves contend in vain. -- Schiller



Re: Mutt's Editor

2000-10-13 Thread Juan Fuentes
* Jeff Howie ([EMAIL PROTECTED]) wrote:

 How come _I_ don't have that file? What, are you special or something?
 ;^
 What version of vim are you using? Mine's 5.5.
 
Hi Jeff, try looking in /usr/share/vim/vim*/syntax/mail.vim it should be
there if you have the runtime package installed, i'm not sure on the
path, i compiled vim myself and use this path, i use vim6.0h Beta.

Juan Fuentes 



Re: Mutt's Editor

2000-10-13 Thread mcclosk

|  How come _I_ don't have that file? What, are you special or
|  something?  What version of vim are you using? Mine's 5.5.

Maybe it's because (like me until recently) you didn't realize that
vim actually comes in two packages---vim itself and vim-rt. The second
package contains the run time files, and you miss a lot of the vim
goodies (like, for instance, documentation, and sample config files
for syntax highlighting) if you fail to install vim-rt. Since the
package vim merely recommends vim-rt (it doesn't depend on it), it's
easy to miss installing the run-time files,

Jim



Vim vs Elvis -- was Mutt's Editor

2000-10-13 Thread will trillich
On Fri, Oct 13, 2000 at 01:15:45PM +1100, Damon Muller wrote:
 Quoth Nate Bargmann, 
  In ~./mutt/muttrc check this line:
  
  set editor=/usr/bin/vim
 
 You may also want to include the contents of
 /usr/share/doc/vim/examples/mail in your ·/.vimrc - it does cool things
 like colour signatures and quoted mail (different colours for different
 levels of quotes), and also lets you use the `qv' command to re-wrap
 quoted lines (very handy for replying to those inconsiderate people who
 don't know how to wrap their messages at 72 lines!).

emacs fans, please turn the other cheek--

how does vim compare to elvis? which is the resource hog?
which does better syntax highlighting? which makes your teeth
whiter?

-- 
things are more like they used to be than they are now.

[EMAIL PROTECTED] *** http://www.dontUthink.com/



Re: Vim vs Elvis -- was Mutt's Editor

2000-10-13 Thread Pann McCuaig
On Fri, Oct 13, 2000 at 11:59, will trillich wrote:

 emacs fans, please turn the other cheek--
 
 how does vim compare to elvis? which is the resource hog?
 which does better syntax highlighting? which makes your teeth
 whiter?

FWIW, I was an early (early 90's) user of elvis. I switched to vim
several years ago and haven't looked back.

I still use nvi on occasion 'cause it will show me ^M's in a file and
it's easier to `nvi file` than to look up how to get vim to do it.  ;-

Luck,
Pann
-- 
geek by nature, Linux by choice L I N U X   .~.
The Choice  /V\
http://www.ourmanpann.com/linux/ of a GNU  /( )\
Generation ^^-^^



Re: Vim vs Elvis -- was Mutt's Editor

2000-10-13 Thread Bud Rogers
On Fri, 13 Oct 2000, will trillich wrote:

 how does vim compare to elvis? which is the resource hog?
 which does better syntax highlighting? 

I don't know about relative resource use, but vim's syntax highlighting is 
the best I've seen.  Ever.  Anywhere.

-- 
Bud Rogers [EMAIL PROTECTED]



Re: Vim vs Elvis -- was Mutt's Editor

2000-10-13 Thread Jeff Howie
I cut my teeth on vim (4.x or so). and haven't looked back.

On Fri, Oct 13, 2000 at 11:59:06AM -0500, will trillich wrote:
 emacs fans, please turn the other cheek--
 how does vim compare to elvis? which is the resource hog?

Not sure about that, but I would assume that vi(elvis) would be on
the leaner side (less features = smaller footprint?).

 which does better syntax highlighting?

Definitely vim. I don't even think vi _has_ this feature, does it?

 which makes your teeth whiter?

VIM definitely. I can see my pearly whites reflected in my monitor
right now! :

thks.jeff



Re: Vim vs Elvis -- was Mutt's Editor

2000-10-13 Thread will trillich
Bud Rogers wrote:
 
 On Fri, 13 Oct 2000, will trillich wrote:
 
  how does vim compare to elvis? which is the resource hog?
  which does better syntax highlighting?
 
 I don't know about relative resource use, but vim's syntax highlighting is
 the best I've seen.  Ever.  Anywhere.

i'm pretty impressed with elvis's, as well.

(seems to ship with one little snag in the elvis.ini file,
but after that's ironed out, i've not seen anything nicer.)

:disp
   hexBinary hex dump
   html   WWW hypertext
   mannroff -man
   texTeX
  *syntax generic syntax coloring
   normal Standard vi

is says 'generic' but it's displaying perl syntax.
rather robust implementation, too. it falls apart after
a few multi-line strings and doesn't grok the qq//
syntax, but other than that, elvis is king in my book--

maybe i otta go look at vim and compare the two...

-- 
mailto:[EMAIL PROTECTED]
http://www.dontUthink.com/



Re: Vim vs Elvis -- was Mutt's Editor

2000-10-13 Thread Erik Steffl
will trillich wrote:
 
 Bud Rogers wrote:
 
  On Fri, 13 Oct 2000, will trillich wrote:
 
   how does vim compare to elvis? which is the resource hog?
   which does better syntax highlighting?
 
  I don't know about relative resource use, but vim's syntax highlighting is
  the best I've seen.  Ever.  Anywhere.
 
 i'm pretty impressed with elvis's, as well.
 
 (seems to ship with one little snag in the elvis.ini file,
 but after that's ironed out, i've not seen anything nicer.)
 
 :disp
hexBinary hex dump
html   WWW hypertext
mannroff -man
texTeX
   *syntax generic syntax coloring
normal Standard vi
 
 is says 'generic' but it's displaying perl syntax.
 rather robust implementation, too. it falls apart after
 a few multi-line strings and doesn't grok the qq//
 syntax, but other than that, elvis is king in my book--

  similar problem in vim: multi line q(sjkdnskdjnvskjd) structure throws
it off if there is eniding character inside of quote, like this:

  qw{
  word
  another{word}
  }

  would probably not be colorized correctly

erik



Re: Mutt's Editor

2000-10-13 Thread Michael P. Soulier
On Fri, Oct 13, 2000 at 04:32:26PM +0900, YoonSuk Cho[EMAIL PROTECTED] wrote:

 If you want vim in mutt add the one line in ~$HOME/.muttrc.
 
 set editor=/usr/bin/vim  like this.
 
 good luck...!!

You can also have vim use special settings while editing mail via

# Use vim as my composing editor.
set editor='vim -u .vimtextrc'

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort.  -Harley Hahn, A Student's Guide to UNIX
PGP Public Key: http://www.storm.ca/~msoulier/personal.html



Re: Vim vs Elvis -- was Mutt's Editor

2000-10-13 Thread Wayne Topa

Subject: Re: Vim vs Elvis -- was Mutt's Editor
Date: Fri, Oct 13, 2000 at 02:50:54PM -0500

In reply to:will trillich

Quoting will trillich([EMAIL PROTECTED]):
 Bud Rogers wrote:
  
  On Fri, 13 Oct 2000, will trillich wrote:
  

Will
  Something wrong with your mail or is my ISP messed up.

  Your message has encountered delivery problems
  to the following recipient(s):

  [EMAIL PROTECTED]
  Delivery failed


  Unable to deliver to destination domain
  Can't interpret host name, or non-existant host
  Reporting-MTA: dns; dmnf02.digital-marketplace.net
  Arrival-Date: Fri, 13 Oct 2000 15:38:53 -0400

  Final-Recipient: rfc822; [EMAIL PROTECTED]
  Action: failed
  Status: 5.3.0 (Permanent failure - system: no additional status
  information available)

  Wayne

-- 
It is practically impossible to teach good programming style to students that 
have had prior exposure to BASIC: as potential programmers they are mentally 
mutilated beyond hope of regeneration. -- Dijkstra
___



Mutt's Editor

2000-10-12 Thread Joel Dinel
I'd want to use VIM as my primary text editor in Mutt. What line do I need to 
add to my ~/.vimrc ?

Thanks !

-- 

Joel Dinel
[EMAIL PROTECTED]



Re: Mutt's Editor

2000-10-12 Thread Nate Bargmann
On Thu, Oct 12, 2000 at 09:21:53PM -0400, Joel Dinel wrote:
 I'd want to use VIM as my primary text editor in Mutt. What line do I need to 
 add to my ~/.vimrc ?
 
 Thanks !

Hi Joel.

In ~./mutt/muttrc check this line:

set editor=/usr/bin/vim

That's all I had to do.

HTH, 

- Nate 

-- 
 Wireless | Amateur Radio Station N0NB  | None can love freedom
 Internet | [EMAIL PROTECTED]   | heartily, but good
 Location | Wichita, Kansas USA EM17hs  | men; the rest love not
   Wichita area exams; ham radio; Linux info @  | freedom, but license.
 http://www.qsl.net/n0nb/   | -- John Milton



Re: Mutt's Editor

2000-10-12 Thread William Jensen
Joel,

I use VIM for everything, not just mutt, so I added:

export VISUAL=vim
export EDITOR=vim

to my .bash_profile...tho nate's solution works equally well.

bill

- Forwarded message from Nate Bargmann [EMAIL PROTECTED] -

Date: Thu, 12 Oct 2000 20:28:33 -0500
From: Nate Bargmann [EMAIL PROTECTED]
To: Joel Dinel [EMAIL PROTECTED]
Cc: Debian Users debian-user@lists.debian.org
Subject: Re: Mutt's Editor
User-Agent: Mutt/1.0.1i
X-Operating-System: Linux 2.2.15 i586 unknown

On Thu, Oct 12, 2000 at 09:21:53PM -0400, Joel Dinel wrote:
 I'd want to use VIM as my primary text editor in Mutt. What line do I need to 
 add to my ~/.vimrc ?
 
 Thanks !

Hi Joel.

In ~./mutt/muttrc check this line:

set editor=/usr/bin/vim

That's all I had to do.

HTH, 

- Nate 

-- 
 Wireless | Amateur Radio Station N0NB  | None can love freedom
 Internet | [EMAIL PROTECTED]   | heartily, but good
 Location | Wichita, Kansas USA EM17hs  | men; the rest love not
   Wichita area exams; ham radio; Linux info @  | freedom, but license.
 http://www.qsl.net/n0nb/   | -- John Milton


-- 
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


- End forwarded message -



Re: Mutt's Editor

2000-10-12 Thread Damon Muller
Quoth Nate Bargmann, 
 In ~./mutt/muttrc check this line:
 
 set editor=/usr/bin/vim

You may also want to include the contents of
/usr/share/doc/vim/examples/mail in your ·/.vimrc - it does cool things
like colour signatures and quoted mail (different colours for different
levels of quotes), and also lets you use the `qv' command to re-wrap
quoted lines (very handy for replying to those inconsiderate people who
don't know how to wrap their messages at 72 lines!).

cheers,

damon

-- 
Damon Muller  | Did a large procession wave their torches
Criminologist/Linux Geek  | As my head fell in the basket,
http://killfilter.com | And was everybody dancing on the casket...
PGP (GnuPG): A136E829 |  - TBMG, Dead


pgpxIUU95A65F.pgp
Description: PGP signature