Re: Elvis and par as editor

2001-07-11 Thread David Champion

On 2001.07.11, in [EMAIL PROTECTED],
Ailbhe Leamy [EMAIL PROTECTED] wrote:

 simple ESC+q. However, I found par, and now I need to know how to make
 elvis use it. Oh, and make it use a ~/.exrc file, so I can have pretty
 colours while editing.

 Par lines from my .exrc.  Note literal control codes in this message.
 (I use vi, so this should generally work with clones.)
 Likewise, reformat the current paragraph
map v mz{j0!}par w72Th
'z
 With justification
map V mz{j0!}par w72Thj1
'z

 Reformat to 64 columns -- for block quotations
map K mz{j0!}par w64Th
'z
 With justification
map  mz{j0!}par w64Thj1
'z

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: Elvis and par as editor

2001-07-11 Thread Ailbhe Leamy

On (11/07/01 12:30), David Champion wrote:
 On 2001.07.11, in [EMAIL PROTECTED],
   Ailbhe Leamy [EMAIL PROTECTED] wrote:

  simple ESC+q. However, I found par, and now I need to know how to make
  elvis use it. Oh, and make it use a ~/.exrc file, so I can have pretty
  colours while editing.
 
  Par lines from my .exrc.  Note literal control codes in this message.

For some reason, nothing I put in my .exrc that begins with map
works. Not even if I source .exrc after opening a file in vi.

So, ah, how do I get elvis to read and heed my .exrc?

Yours in fuddled anticipation,

Ailbhe

-- 
Homepage: http://ailbhe.ossifrage.net/