Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!exodus!warp.Eng.Sun.COM!rock From: rock@warp.Eng.Sun.COM (Bill Petro) Newsgroups: comp.editors Subject: Re: vi for power users Message-ID: <4253@exodus.Eng.Sun.COM> Date: 10 Dec 90 22:45:37 GMT References: <109909@convex.convex.com> <110110@convex.convex.com> <17719@neptune.inf.ethz.ch> Sender: news@exodus.Eng.Sun.COM Lines: 43 wyle@inf.ethz.ch (Mitchell Wyle) writes: >My articles in "The Sun Observer" are better than the books I have read on >vi. If I ever finish my PhD, I'll write a good Vi book. I agree heartily! It is what I look forward to when the new Sun Observer comes out. What you might do Mitch (before you write your book :-) is just make an electronic version of your articles available (or are there copywrite problems with SO?). >>meant in regexps and to find (and greatly increase) the limit on macro >>text (;-) and line length. >I'm hacking up elvis to do this kind of thing; I have to work on dos at home >:-(. I can't wait! What would be the equivalent of dying and going to heaven would be an elvis (or clone) that would allow multiple windows/buffers on screen at the same time. Then, I wouldn't have to suffer emacs window-envy (don't suggest ^Z or buffer yank puts - I want both buffers shown at the same time) and I could have the nice comfy familiarity of my .exrc bindings. I have tried VIP mode in gnu emacs, but it is big, slow, and I don't want to have to translate all my vi bindings into .emacs lisp conventions. >I still use this method even though it's slow. I call my macro F for Format >paragraph and it is usually: >map F {!}fmt^M I have extended it a bit with this: map F {!}fmt^M}j What this does is goes to the front of the paragraph and formats it to the end of the paragraph and then positions the cursor at the beginning of the next paragraph. -- Bill Petro {decwrl,hplabs,ucbvax}!sun!Eng!rock "UNIX for the sake of the kingdom of heaven" Matthew 19:12