larryg@zinfandel (Larry Gillespie) (07/24/87)
I want the perfect text editor, okay? So, I have a couple of Emacses available to me, including GNU Emacs for Unix 4.3bsd and MicroEmacs for IBM-PC/DOS. My editor of choice remains the Unix "vi" editor, and I don't really want to use Emacs. But it has several big advantages over vi which I am tired of living without, such as multiple buffer editing and multiple window editing. So,... since Emacs is customizable through key bindings being written however a person wants, I am certain that it is possible to customize Emacs so that it behaves EXACTLY like vi, with the added capability of using the multiple buffers and windows (and other features), these other features being called upon through use of the Emacs key-commands which are not a part of vi itself. Does anyone have such an animal? I don't want to have to reinvent the wheel, so if you've got the customizer, please send me E-mail. I really am looking for a complete, quality customization, not a halfways done job (I will do it myself rather than use such). Much appreciation, in advance, to those who go to some effort regarding my quest. -Larry Gillespie
bob%tut.cis.ohio-state.edu@osu-eddie.UUCP (Bob Sutterfield) (07/24/87)
In article <261@zehntel.UUCP> larryg@zinfandel.UUCP (Larry Gillespie) writes: > ... I have a couple of Emacses available to me, including GNU Emacs >for Unix 4.3bsd ... I am certain that it is possible to customize >Emacs so that it behaves EXACTLY like vi ... Does anyone have such an >animal? Have you looked at GNU Emacs' VIP-mode? Say `M-x info', then `m vip'. -=- Bob Sutterfield, Department of Computer and Information Science The Ohio State University; 2036 Neil Ave. Columbus OH USA 43210-1277 bob@ohio-state.{arpa,csnet} or ...!cbosgd!osu-eddie!bob soon: bob@aargh.cis.ohio-state.edu
Karl.Kleinpaste@cbstr1.UUCP (07/24/87)
Um, you're already got vi emulation right there, in GNU Emacs. V18 of GNU Emacs provides TWO versions of vi emulation, one supposedly much better than the other. (I wouldn't know; I don't use either.) In the V18 manual, section 27.8 [Emulation], page 205 in my copy: "vi (Berkeley Unix editor) Turn on vi emulation with M-x vi-mode. This is a major mode that replaces the previously established major mode... vi (alternate emulator) Another vi emulator said to resemble real vi more thoroughly is invoked by M-x vip-mode... I am interested in hearing which vi emulator users prefer, as well as in receiving more complete user documentation for either or both..." Karl
rod@cpocd2.UUCP (Rod Rebello) (07/29/87)
In article <3863@osu-eddie.UUCP> bob@osu-eddie.UUCP (Bob Sutterfield) writes: >In article <261@zehntel.UUCP> larryg@zinfandel.UUCP (Larry Gillespie) writes: > >> ... I have a couple of Emacses available to me, including GNU Emacs >>for Unix 4.3bsd ... I am certain that it is possible to customize >>Emacs so that it behaves EXACTLY like vi ... Does anyone have such an ^^^^^^^ >>animal? > >Have you looked at GNU Emacs' VIP-mode? Say `M-x info', then `m vip'. > Larry wants an EXACT implementation of VI in Emacs. I have tried the VIP-mode, and found a number of inconsistancies versus "true" VI. These were irrating enough so that I gave up on it. I have resigned myself to learning Emacs, primarily because I also have Emacs on my PC (MicroEmacs). I hate trying to switch gears every time I move from system to system. Rod Rebello ...!intelca!mipos3!cpocd2!rod
mkhaw@teknowledge-vaxc.ARPA (Michael Khaw) (07/30/87)
in article <808@cpocd2.UUCP>, rod@cpocd2.UUCP (Rod Rebello) says:
-> Xref: teknowledge-vaxc comp.sources.wanted:1190 comp.emacs:1033
->>
->>> ... I have a couple of Emacses available to me, including GNU Emacs
->>>for Unix 4.3bsd ... I am certain that it is possible to customize
->>>Emacs so that it behaves EXACTLY like vi ... Does anyone have such an
-> ^^^^^^^
->>>animal?
->>
->>Have you looked at GNU Emacs' VIP-mode? Say `M-x info', then `m vip'.
->>
->
-> Larry wants an EXACT implementation of VI in Emacs. I have tried the
-> VIP-mode, and found a number of inconsistancies versus "true" VI.
-> These were irrating enough so that I gave up on it. I have resigned
I started to use vip mode and also got put off by the inconsistencies, but
I think all of that can be fixed by rebinding the keys from your .emacs
file. I just haven't had the time to go through and find all the "wrong"
bindings and fix them, and decide which of vi's unused keys I can bind to
useful emacs-ish things like 'change to emacs mode', or 'split screen'.
Mike Khaw
--
internet: mkhaw@teknowledge-vaxc.arpa
usenet: {hplabs|sun|ucbvax|decwrl|sri-unix}!mkhaw%teknowledge-vaxc.arpa
USnail: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303
henry@garp.mit.edu (Henry Mensch) (08/08/87)
It seems silly to use GNU Emacs to emulate /usr/ucb/vi ... kinda like writing a BASIC interpreter in Lisp ... an interesting exercise for the interested student, but hardly practical. After all, /usr/ucb/vi starts up in the same minute that you invoke it ... (as opposed to the 30-45 seconds that emacs can take on a busy system). # Henry Mensch / <henry@garp.mit.edu> / E40-379 MIT, Cambridge, MA # {ames,cca,rochester,harvard,mit-eddie}!garp!henry