home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / languages / elisp / packages / mvi.shar.1 < prev    next >
Mailbox/MIME Entity  |  1990-07-22  |  61.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert PageFocus Data (other/pageFocusData) ext Unsupported
1% dexvert Banyans VINES patch data (other/banyansVINESPatchData) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file Mailbox text, 1st line "From ark1!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!tut.cis.ohio-state.edu!nimbus3!djs Wed M", ASCII text default
100% TrID E-Mail message (Var. 2) default
100% perlTextCheck Likely Text (Perl) default
100% siegfried x-fmt/111 Plain Text File default
100% detectItEasy Format: Plain text[LF] default
100% xdgMime application/mbox default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 61 72 6b | 31 21 75 61 6b 61 72 69 |From ark|1!uakari|
|00000010| 2e 70 72 69 6d 61 74 65 | 2e 77 69 73 63 2e 65 64 |.primate|.wisc.ed|
|00000020| 75 21 7a 61 70 68 6f 64 | 2e 6d 70 73 2e 6f 68 69 |u!zaphod|.mps.ohi|
|00000030| 6f 2d 73 74 61 74 65 2e | 65 64 75 21 70 61 63 69 |o-state.|edu!paci|
|00000040| 66 69 63 2e 6d 70 73 2e | 6f 68 69 6f 2d 73 74 61 |fic.mps.|ohio-sta|
|00000050| 74 65 2e 65 64 75 21 74 | 75 74 2e 63 69 73 2e 6f |te.edu!t|ut.cis.o|
|00000060| 68 69 6f 2d 73 74 61 74 | 65 2e 65 64 75 21 6e 69 |hio-stat|e.edu!ni|
|00000070| 6d 62 75 73 33 21 64 6a | 73 20 57 65 64 20 4d 61 |mbus3!dj|s Wed Ma|
|00000080| 72 20 32 38 20 31 32 3a | 33 30 3a 30 38 20 31 39 |r 28 12:|30:08 19|
|00000090| 39 30 0a 41 72 74 69 63 | 6c 65 20 31 36 34 37 20 |90.Artic|le 1647 |
|000000a0| 6f 66 20 63 6f 6d 70 2e | 65 6d 61 63 73 3a 0a 58 |of comp.|emacs:.X|
|000000b0| 72 65 66 3a 20 61 72 6b | 31 20 63 6f 6d 70 2e 65 |ref: ark|1 comp.e|
|000000c0| 64 69 74 6f 72 73 3a 36 | 31 31 20 67 6e 75 2e 65 |ditors:6|11 gnu.e|
|000000d0| 6d 61 63 73 3a 31 33 39 | 33 20 63 6f 6d 70 2e 65 |macs:139|3 comp.e|
|000000e0| 6d 61 63 73 3a 31 36 34 | 37 0a 50 61 74 68 3a 20 |macs:164|7.Path: |
|000000f0| 61 72 6b 31 21 75 61 6b | 61 72 69 2e 70 72 69 6d |ark1!uak|ari.prim|
|00000100| 61 74 65 2e 77 69 73 63 | 2e 65 64 75 21 7a 61 70 |ate.wisc|.edu!zap|
|00000110| 68 6f 64 2e 6d 70 73 2e | 6f 68 69 6f 2d 73 74 61 |hod.mps.|ohio-sta|
|00000120| 74 65 2e 65 64 75 21 70 | 61 63 69 66 69 63 2e 6d |te.edu!p|acific.m|
|00000130| 70 73 2e 6f 68 69 6f 2d | 73 74 61 74 65 2e 65 64 |ps.ohio-|state.ed|
|00000140| 75 21 74 75 74 2e 63 69 | 73 2e 6f 68 69 6f 2d 73 |u!tut.ci|s.ohio-s|
|00000150| 74 61 74 65 2e 65 64 75 | 21 6e 69 6d 62 75 73 33 |tate.edu|!nimbus3|
|00000160| 21 64 6a 73 0a 46 72 6f | 6d 20 64 6a 73 40 6e 69 |!djs.Fro|m djs@ni|
|00000170| 6d 62 75 73 33 2e 75 75 | 63 70 20 28 44 6f 75 67 |mbus3.uu|cp (Doug|
|00000180| 29 0a 4e 65 77 73 67 72 | 6f 75 70 73 3a 20 63 6f |).Newsgr|oups: co|
|00000190| 6d 70 2e 65 64 69 74 6f | 72 73 2c 67 6e 75 2e 65 |mp.edito|rs,gnu.e|
|000001a0| 6d 61 63 73 2c 63 6f 6d | 70 2e 65 6d 61 63 73 2c |macs,com|p.emacs,|
|000001b0| 61 6c 74 2e 73 6f 75 72 | 63 65 73 0a 53 75 62 6a |alt.sour|ces.Subj|
|000001c0| 65 63 74 3a 20 59 65 74 | 20 61 6e 6f 74 68 65 72 |ect: Yet| another|
|000001d0| 20 76 69 20 65 6d 75 6c | 61 74 6f 72 20 66 6f 72 | vi emul|ator for|
|000001e0| 20 47 4e 55 20 65 6d 61 | 63 73 20 28 70 61 72 74 | GNU ema|cs (part|
|000001f0| 20 31 20 6f 66 20 33 29 | 0a 4d 65 73 73 61 67 65 | 1 of 3)|.Message|
|00000200| 2d 49 44 3a 20 3c 31 39 | 39 30 4d 61 72 32 37 2e |-ID: <19|90Mar27.|
|00000210| 32 33 33 30 30 31 2e 36 | 32 33 33 40 6e 69 6d 62 |233001.6|233@nimb|
|00000220| 75 73 33 2e 75 75 63 70 | 3e 0a 44 61 74 65 3a 20 |us3.uucp|>.Date: |
|00000230| 32 37 20 4d 61 72 20 39 | 30 20 32 33 3a 33 30 3a |27 Mar 9|0 23:30:|
|00000240| 30 31 20 47 4d 54 0a 52 | 65 70 6c 79 2d 54 6f 3a |01 GMT.R|eply-To:|
|00000250| 20 64 6a 73 40 6e 69 6d | 62 75 73 33 2e 55 55 43 | djs@nim|bus3.UUC|
|00000260| 50 20 28 44 6f 75 67 29 | 0a 4f 72 67 61 6e 69 7a |P (Doug)|.Organiz|
|00000270| 61 74 69 6f 6e 3a 20 41 | 47 53 20 49 6e 66 6f 72 |ation: A|GS Infor|
|00000280| 6d 61 74 69 6f 6e 20 53 | 65 72 76 69 63 65 73 2c |mation S|ervices,|
|00000290| 20 49 6e 63 2e 0a 4c 69 | 6e 65 73 3a 20 32 31 33 | Inc..Li|nes: 213|
|000002a0| 38 0a 0a 54 68 69 73 20 | 69 73 20 79 65 74 20 61 |8..This |is yet a|
|000002b0| 6e 6f 74 68 65 72 20 76 | 69 20 65 6d 75 6c 61 74 |nother v|i emulat|
|000002c0| 6f 72 20 66 6f 72 20 47 | 4e 55 20 65 6d 61 63 73 |or for G|NU emacs|
|000002d0| 2e 20 20 49 74 20 74 72 | 69 65 73 20 74 6f 20 62 |. It tr|ies to b|
|000002e0| 65 20 6d 75 63 68 20 63 | 6c 6f 73 65 72 0a 74 6f |e much c|loser.to|
|000002f0| 20 74 68 65 20 72 65 61 | 6c 20 74 68 69 6e 67 20 | the rea|l thing |
|00000300| 6f 6e 20 66 69 6e 65 20 | 63 75 72 73 6f 72 20 6d |on fine |cursor m|
|00000310| 6f 76 65 6d 65 6e 74 2e | 20 20 54 68 69 73 20 69 |ovement.| This i|
|00000320| 73 20 61 63 63 6f 6d 70 | 6c 69 73 68 65 64 20 62 |s accomp|lished b|
|00000330| 79 20 61 64 64 69 6e 67 | 0a 43 20 63 6f 64 65 2e |y adding|.C code.|
|00000340| 0a 0a 23 20 54 68 69 73 | 20 69 73 20 61 20 73 68 |..# This| is a sh|
|00000350| 65 6c 6c 20 61 72 63 68 | 69 76 65 2e 20 20 52 65 |ell arch|ive. Re|
|00000360| 6d 6f 76 65 20 61 6e 79 | 74 68 69 6e 67 20 62 65 |move any|thing be|
|00000370| 66 6f 72 65 20 74 68 69 | 73 20 6c 69 6e 65 2c 20 |fore thi|s line, |
|00000380| 74 68 65 6e 0a 23 20 75 | 6e 70 61 63 6b 20 69 74 |then.# u|npack it|
|00000390| 20 62 79 20 73 61 76 69 | 6e 67 20 69 74 20 69 6e | by savi|ng it in|
|000003a0| 20 61 20 66 69 6c 65 20 | 61 6e 64 20 74 79 70 69 | a file |and typi|
|000003b0| 6e 67 20 22 73 68 20 66 | 69 6c 65 22 2e 20 20 28 |ng "sh f|ile". (|
|000003c0| 46 69 6c 65 73 0a 23 20 | 75 6e 70 61 63 6b 65 64 |Files.# |unpacked|
|000003d0| 20 77 69 6c 6c 20 62 65 | 20 6f 77 6e 65 64 20 62 | will be| owned b|
|000003e0| 79 20 79 6f 75 20 61 6e | 64 20 68 61 76 65 20 64 |y you an|d have d|
|000003f0| 65 66 61 75 6c 74 20 70 | 65 72 6d 69 73 73 69 6f |efault p|ermissio|
|00000400| 6e 73 2e 29 0a 23 0a 23 | 20 54 68 69 73 20 61 72 |ns.).#.#| This ar|
|00000410| 63 68 69 76 65 20 63 6f | 6e 74 61 69 6e 73 3a 0a |chive co|ntains:.|
|00000420| 23 20 52 45 41 44 4d 45 | 20 64 6f 74 2e 65 6d 61 |# README| dot.ema|
|00000430| 63 73 20 64 6f 75 67 2d | 6d 69 73 63 2e 65 6c 20 |cs doug-|misc.el |
|00000440| 6c 6f 61 64 75 70 2e 70 | 61 74 63 68 20 6d 76 69 |loadup.p|atch mvi|
|00000450| 2e 6d 61 6e 20 6d 76 69 | 2e 70 61 74 63 68 0a 0a |.man mvi|.patch..|
|00000460| 65 63 68 6f 20 78 20 2d | 20 52 45 41 44 4d 45 0a |echo x -| README.|
|00000470| 63 61 74 20 3e 20 22 52 | 45 41 44 4d 45 22 20 3c |cat > "R|EADME" <|
|00000480| 3c 20 27 2f 2f 45 2a 4f | 2a 46 20 52 45 41 44 4d |< '//E*O|*F READM|
|00000490| 45 2f 2f 27 0a 54 68 69 | 73 20 69 73 20 79 65 74 |E//'.Thi|s is yet|
|000004a0| 20 61 6e 6f 74 68 65 72 | 20 76 69 20 65 6d 75 6c | another| vi emul|
|000004b0| 61 74 6f 72 20 66 6f 72 | 20 47 4e 55 20 45 6d 61 |ator for| GNU Ema|
|000004c0| 63 73 20 6e 61 6d 65 64 | 20 6d 76 69 20 66 6f 72 |cs named| mvi for|
|000004d0| 20 22 6d 79 20 76 69 22 | 2e 0a 48 6f 70 65 66 75 | "my vi"|..Hopefu|
|000004e0| 6c 6c 79 2c 20 79 6f 75 | 20 77 69 6c 6c 20 66 69 |lly, you| will fi|
|000004f0| 6e 64 20 69 74 20 75 73 | 65 66 75 6c 2e 0a 0a 31 |nd it us|eful...1|
|00000500| 2e 20 42 61 63 6b 67 72 | 6f 75 6e 64 0a 0a 49 20 |. Backgr|ound..I |
|00000510| 77 61 73 20 61 20 63 6f | 6d 6d 69 74 65 64 20 76 |was a co|mmited v|
|00000520| 69 20 75 73 65 72 20 66 | 6f 72 20 73 6f 6d 65 20 |i user f|or some |
|00000530| 74 69 6d 65 20 75 6e 74 | 69 6c 20 49 20 64 65 63 |time unt|il I dec|
|00000540| 69 64 65 64 20 74 68 61 | 74 20 49 20 63 6f 75 6c |ided tha|t I coul|
|00000550| 64 6e 27 74 0a 6c 69 76 | 65 20 77 69 74 68 6f 75 |dn't.liv|e withou|
|00000560| 74 20 73 6f 6d 65 20 6f | 66 20 65 6d 61 63 73 27 |t some o|f emacs'|
|00000570| 20 66 65 61 74 75 72 65 | 73 2e 20 20 53 6f 2c 20 | feature|s. So, |
|00000580| 6f 6e 65 20 64 61 79 20 | 49 20 64 65 63 69 64 65 |one day |I decide|
|00000590| 64 20 74 6f 20 6d 61 6b | 65 0a 74 68 65 20 62 69 |d to mak|e.the bi|
|000005a0| 67 20 73 77 69 74 63 68 | 20 74 6f 20 47 4e 55 20 |g switch| to GNU |
|000005b0| 65 6d 61 63 73 2e 20 20 | 41 66 74 65 72 20 73 77 |emacs. |After sw|
|000005c0| 69 74 63 68 69 6e 67 2c | 20 49 20 6e 6f 74 69 63 |itching,| I notic|
|000005d0| 65 64 20 74 68 61 74 20 | 6d 79 20 73 70 65 65 64 |ed that |my speed|
|000005e0| 0a 6f 66 20 65 64 69 74 | 69 6e 67 20 68 61 64 20 |.of edit|ing had |
|000005f0| 64 72 6f 70 70 65 64 20 | 64 72 61 73 74 69 63 61 |dropped |drastica|
|00000600| 6c 6c 79 2e 20 20 49 20 | 66 69 67 75 72 65 64 20 |lly. I |figured |
|00000610| 74 68 61 74 20 69 74 20 | 77 61 73 20 62 65 63 61 |that it |was beca|
|00000620| 75 73 65 20 49 0a 6e 65 | 65 64 65 64 20 74 6f 20 |use I.ne|eded to |
|00000630| 67 65 74 20 75 73 65 64 | 20 74 6f 20 74 68 65 20 |get used| to the |
|00000640| 6e 65 77 20 6b 65 79 73 | 74 72 6f 6b 65 73 2e 20 |new keys|trokes. |
|00000650| 20 41 66 74 65 72 20 61 | 20 63 6f 75 70 6c 65 20 | After a| couple |
|00000660| 6f 66 20 6d 6f 6e 74 68 | 73 20 6f 66 0a 74 68 69 |of month|s of.thi|
|00000670| 73 20 49 20 64 65 63 69 | 64 65 64 20 74 68 61 74 |s I deci|ded that|
|00000680| 20 49 20 77 6f 75 6c 64 | 20 6e 65 76 65 72 20 62 | I would| never b|
|00000690| 65 20 61 62 6c 65 20 74 | 6f 20 65 64 69 74 20 61 |e able t|o edit a|
|000006a0| 73 20 66 61 73 74 20 61 | 73 20 49 20 63 6f 75 6c |s fast a|s I coul|
|000006b0| 64 0a 77 69 74 68 20 76 | 69 20 62 65 63 61 75 73 |d.with v|i becaus|
|000006c0| 65 20 6f 66 20 74 68 65 | 20 64 69 66 66 65 72 65 |e of the| differe|
|000006d0| 6e 74 20 65 64 69 74 69 | 6e 67 20 6d 6f 64 65 6c |nt editi|ng model|
|000006e0| 20 74 68 65 79 20 65 6d | 70 6c 6f 79 65 64 20 28 | they em|ployed (|
|000006f0| 6d 6f 64 65 64 0a 76 73 | 2e 20 6e 6f 6e 2d 6d 6f |moded.vs|. non-mo|
|00000700| 64 65 64 29 2e 20 20 4e | 6f 74 20 74 6f 20 73 65 |ded). N|ot to se|
|00000710| 74 20 6f 66 66 20 61 20 | 66 6c 61 6d 65 20 77 61 |t off a |flame wa|
|00000720| 72 2c 20 62 75 74 20 49 | 20 6c 69 6b 65 64 20 6d |r, but I| liked m|
|00000730| 6f 64 65 64 6e 65 73 73 | 2e 0a 41 74 20 74 68 69 |odedness|..At thi|
|00000740| 73 20 70 6f 69 6e 74 20 | 49 20 74 72 69 65 64 20 |s point |I tried |
|00000750| 74 68 65 20 76 69 20 65 | 6d 75 6c 61 74 6f 72 73 |the vi e|mulators|
|00000760| 20 74 68 61 74 20 61 72 | 65 20 64 69 73 74 72 69 | that ar|e distri|
|00000770| 62 75 74 65 64 20 77 69 | 74 68 20 47 4e 55 2e 0a |buted wi|th GNU..|
|00000780| 54 68 65 79 20 68 65 6c | 70 65 64 2c 20 62 75 74 |They hel|ped, but|
|00000790| 20 49 20 73 74 69 6c 6c | 20 64 69 64 6e 27 74 20 | I still| didn't |
|000007a0| 6c 69 6b 65 20 74 68 65 | 20 66 65 65 6c 20 6f 66 |like the| feel of|
|000007b0| 20 74 68 65 20 63 75 72 | 73 6f 72 20 6d 6f 74 69 | the cur|sor moti|
|000007c0| 6f 6e 2e 0a 41 74 20 74 | 68 61 74 20 70 6f 69 6e |on..At t|hat poin|
|000007d0| 74 20 49 20 73 74 61 72 | 74 65 64 20 74 6f 20 68 |t I star|ted to h|
|000007e0| 61 63 6b 20 6f 6e 20 47 | 4e 55 20 74 6f 20 6d 61 |ack on G|NU to ma|
|000007f0| 6b 65 20 61 20 2a 52 45 | 41 4c 2a 20 76 69 20 65 |ke a *RE|AL* vi e|
|00000800| 6d 75 6c 61 74 6f 72 2e | 0a 49 20 64 65 63 69 64 |mulator.|.I decid|
|00000810| 65 64 20 74 68 61 74 20 | 77 68 61 74 20 77 61 73 |ed that |what was|
|00000820| 20 72 65 61 6c 6c 79 20 | 6e 65 63 65 73 73 61 72 | really |necessar|
|00000830| 79 20 77 61 73 20 74 6f | 20 67 65 74 20 74 68 65 |y was to| get the|
|00000840| 20 6c 6f 77 20 6c 65 76 | 65 6c 0a 63 75 72 73 6f | low lev|el.curso|
|00000850| 72 20 6d 6f 74 69 6f 6e | 20 63 6f 72 72 65 63 74 |r motion| correct|
|00000860| 2c 20 77 69 74 68 20 72 | 65 61 73 6f 6e 61 62 6c |, with r|easonabl|
|00000870| 65 20 73 70 65 65 64 2c | 20 49 20 77 61 73 20 67 |e speed,| I was g|
|00000880| 6f 69 6e 67 20 74 6f 20 | 68 61 76 65 20 74 6f 0a |oing to |have to.|
|00000890| 61 64 64 20 73 6f 6d 65 | 20 43 20 63 6f 64 65 2e |add some| C code.|
|000008a0| 20 20 54 68 75 73 2c 20 | 74 6f 20 75 73 65 20 74 | Thus, |to use t|
|000008b0| 68 69 73 20 70 61 63 6b | 61 67 65 2c 20 79 6f 75 |his pack|age, you|
|000008c0| 27 72 65 20 67 6f 69 6e | 67 20 74 6f 20 68 61 76 |'re goin|g to hav|
|000008d0| 65 20 74 6f 0a 70 61 74 | 63 68 20 74 68 65 20 65 |e to.pat|ch the e|
|000008e0| 6d 61 63 73 20 73 6f 75 | 72 63 65 20 61 6e 64 20 |macs sou|rce and |
|000008f0| 72 65 62 75 69 6c 64 20 | 69 74 20 3a 2d 28 2e 0a |rebuild |it :-(..|
|00000900| 0a 32 2e 20 49 6d 70 6c | 65 6d 65 6e 74 61 74 69 |.2. Impl|ementati|
|00000910| 6f 6e 0a 0a 54 68 69 73 | 20 69 73 20 6e 6f 74 20 |on..This| is not |
|00000920| 61 20 76 69 20 63 6c 6f | 6e 65 2e 20 20 56 69 20 |a vi clo|ne. Vi |
|00000930| 68 61 73 20 70 6c 65 6e | 74 79 20 6f 66 20 62 72 |has plen|ty of br|
|00000940| 61 69 6e 20 64 61 6d 61 | 67 65 20 66 6c 6f 61 74 |ain dama|ge float|
|00000950| 69 6e 67 20 61 72 6f 75 | 6e 64 0a 69 6e 20 69 74 |ing arou|nd.in it|
|00000960| 73 20 63 6f 64 65 20 61 | 6e 64 20 49 20 66 65 6c |s code a|nd I fel|
|00000970| 74 20 6e 6f 20 6e 65 65 | 64 20 74 6f 20 63 61 72 |t no nee|d to car|
|00000980| 72 79 20 74 68 61 74 20 | 66 6f 72 77 61 72 64 2e |ry that |forward.|
|00000990| 20 20 49 6e 20 74 68 65 | 20 6d 61 6e 75 61 6c 2c | In the| manual,|
|000009a0| 0a 49 27 6c 6c 20 74 72 | 79 20 74 6f 20 65 78 70 |.I'll tr|y to exp|
|000009b0| 6c 61 69 6e 20 74 68 65 | 20 64 69 66 66 65 72 65 |lain the| differe|
|000009c0| 6e 63 65 73 20 62 65 74 | 77 65 65 6e 20 6d 76 69 |nces bet|ween mvi|
|000009d0| 20 61 6e 64 20 72 65 61 | 6c 20 76 69 2e 20 20 4d | and rea|l vi. M|
|000009e0| 76 69 0a 73 75 70 70 6f | 72 74 73 20 6e 6f 6e 65 |vi.suppo|rts none|
|000009f0| 20 6f 66 20 74 68 65 20 | 65 78 20 63 6f 6d 6d 61 | of the |ex comma|
|00000a00| 6e 64 73 2e 20 20 49 74 | 20 73 65 65 6d 65 64 20 |nds. It| seemed |
|00000a10| 70 6f 69 6e 74 6c 65 73 | 73 2c 20 73 69 6e 63 65 |pointles|s, since|
|00000a20| 20 65 6d 61 63 73 0a 68 | 61 73 20 66 61 72 20 6d | emacs.h|as far m|
|00000a30| 6f 72 65 20 70 6f 77 65 | 72 66 75 6c 20 76 65 72 |ore powe|rful ver|
|00000a40| 73 69 6f 6e 73 20 6f 66 | 20 65 76 65 72 79 74 68 |sions of| everyth|
|00000a50| 69 6e 67 20 49 20 65 76 | 65 72 20 64 69 64 20 77 |ing I ev|er did w|
|00000a60| 69 74 68 20 65 78 2e 0a | 54 68 75 73 2c 20 79 6f |ith ex..|Thus, yo|
|00000a70| 75 20 63 61 6e 27 74 20 | 65 73 63 61 70 65 20 6c |u can't |escape l|
|00000a80| 65 61 72 6e 69 6e 67 20 | 73 6f 6d 65 20 65 6d 61 |earning |some ema|
|00000a90| 63 73 20 69 66 20 79 6f | 75 20 77 61 6e 74 20 74 |cs if yo|u want t|
|00000aa0| 6f 20 75 73 65 20 74 68 | 69 73 0a 70 61 63 6b 61 |o use th|is.packa|
|00000ab0| 67 65 2e 20 20 44 4f 4e | 27 54 20 50 41 4e 49 43 |ge. DON|'T PANIC|
|00000ac0| 2c 20 69 6e 20 6d 6f 73 | 74 20 72 65 73 70 65 63 |, in mos|t respec|
|00000ad0| 74 73 2c 20 65 6d 61 63 | 73 20 69 73 20 66 61 72 |ts, emac|s is far|
|00000ae0| 20 6d 6f 72 65 20 63 6f | 6e 73 69 73 74 65 6e 74 | more co|nsistent|
|00000af0| 0a 61 6e 64 20 70 6f 77 | 65 72 66 75 6c 20 74 68 |.and pow|erful th|
|00000b00| 61 6e 20 76 69 2c 20 49 | 20 6a 75 73 74 20 63 6f |an vi, I| just co|
|00000b10| 75 6c 64 6e 27 74 20 64 | 65 61 6c 20 77 69 74 68 |uldn't d|eal with|
|00000b20| 20 61 6c 6c 20 74 68 65 | 20 6b 65 79 73 74 72 6f | all the| keystro|
|00000b30| 6b 65 73 20 69 74 0a 74 | 6f 6f 6b 20 74 6f 20 64 |kes it.t|ook to d|
|00000b40| 6f 20 74 72 69 76 69 61 | 6c 20 65 64 69 74 69 6e |o trivia|l editin|
|00000b50| 67 20 63 68 6f 72 65 73 | 2e 0a 0a 33 2e 20 4d 61 |g chores|...3. Ma|
|00000b60| 6e 69 66 65 73 74 0a 0a | 41 73 20 64 69 73 74 72 |nifest..|As distr|
|00000b70| 69 62 75 74 65 64 2c 20 | 79 6f 75 20 73 68 6f 75 |ibuted, |you shou|
|00000b80| 6c 64 20 68 61 76 65 20 | 74 68 65 20 66 6f 6c 6f |ld have |the folo|
|00000b90| 77 69 6e 67 20 66 69 6c | 65 73 3a 0a 0a 52 45 41 |wing fil|es:..REA|
|00000ba0| 44 4d 45 20 2d 20 74 68 | 69 73 20 66 69 6c 65 0a |DME - th|is file.|
|00000bb0| 6d 76 69 2e 6d 61 6e 20 | 2d 20 61 20 71 75 69 63 |mvi.man |- a quic|
|00000bc0| 6b 20 61 6e 64 20 64 69 | 72 74 79 20 6d 61 6e 75 |k and di|rty manu|
|00000bd0| 61 6c 20 66 6f 72 20 6d | 76 69 2e 0a 6d 76 69 2e |al for m|vi..mvi.|
|00000be0| 65 6c 2e 31 20 2d 20 70 | 61 72 74 20 31 20 6f 66 |el.1 - p|art 1 of|
|00000bf0| 20 74 68 65 20 6d 76 69 | 20 65 6d 61 63 73 20 6c | the mvi| emacs l|
|00000c00| 69 73 70 20 63 6f 64 65 | 2e 0a 6d 76 69 2e 65 6c |isp code|..mvi.el|
|00000c10| 2e 32 20 2d 20 70 61 72 | 74 20 32 20 6f 66 20 74 |.2 - par|t 2 of t|
|00000c20| 68 65 20 6d 76 69 20 65 | 6d 61 63 73 20 6c 69 73 |he mvi e|macs lis|
|00000c30| 70 20 63 6f 64 65 2e 0a | 6d 76 69 2e 70 61 74 63 |p code..|mvi.patc|
|00000c40| 68 20 2d 20 74 68 65 20 | 63 20 73 6f 75 72 63 65 |h - the |c source|
|00000c50| 20 70 61 74 63 68 65 73 | 2e 0a 6c 6f 61 64 75 70 | patches|..loadup|
|00000c60| 2e 70 61 74 63 68 20 2d | 20 61 20 70 61 74 63 68 |.patch -| a patch|
|00000c70| 20 66 6f 72 20 6c 6f 61 | 64 75 70 2e 65 6c 20 74 | for loa|dup.el t|
|00000c80| 6f 20 6d 61 6b 65 20 6d | 76 69 20 70 61 72 74 20 |o make m|vi part |
|00000c90| 6f 66 20 74 68 65 20 63 | 6f 6d 70 69 6c 65 64 20 |of the c|ompiled |
|00000ca0| 63 6f 64 65 2e 0a 64 6f | 74 2e 65 6d 61 63 73 20 |code..do|t.emacs |
|00000cb0| 2d 20 73 6f 6d 65 20 73 | 74 75 66 66 20 6f 75 74 |- some s|tuff out|
|00000cc0| 20 6f 66 20 6d 79 20 2e | 65 6d 61 63 73 20 74 6f | of my .|emacs to|
|00000cd0| 20 6d 61 6b 65 20 69 74 | 20 61 20 6c 69 74 74 6c | make it| a littl|
|00000ce0| 65 20 6e 69 63 65 72 2e | 0a 64 6f 75 67 2d 6d 69 |e nicer.|.doug-mi|
|00000cf0| 73 63 2e 65 6c 20 2d 20 | 73 6f 6d 65 20 6d 69 73 |sc.el - |some mis|
|00000d00| 63 65 6c 61 6e 69 6f 75 | 73 20 73 74 75 66 66 20 |celaniou|s stuff |
|00000d10| 74 68 61 74 20 6d 69 67 | 68 74 20 70 72 6f 76 65 |that mig|ht prove|
|00000d20| 20 75 73 65 66 75 6c 2e | 0a 0a 34 2e 20 42 75 69 | useful.|..4. Bui|
|00000d30| 6c 64 69 6e 67 0a 0a 59 | 6f 75 27 72 65 20 67 6f |lding..Y|ou're go|
|00000d40| 69 6e 67 20 74 6f 20 6e | 65 65 64 20 74 68 65 20 |ing to n|eed the |
|00000d50| 73 6f 75 72 63 65 20 74 | 6f 20 47 4e 55 20 65 6d |source t|o GNU em|
|00000d60| 61 63 73 2e 20 20 49 20 | 72 65 63 6f 6d 6d 65 6e |acs. I |recommen|
|00000d70| 64 20 31 38 2e 35 35 20 | 73 69 6e 63 65 0a 74 68 |d 18.55 |since.th|
|00000d80| 61 74 20 77 61 73 20 74 | 68 65 20 76 65 72 73 69 |at was t|he versi|
|00000d90| 6f 6e 20 74 68 61 74 20 | 74 68 65 20 70 61 74 63 |on that |the patc|
|00000da0| 68 65 73 20 77 65 72 65 | 20 67 65 6e 65 72 61 74 |hes were| generat|
|00000db0| 65 64 20 66 72 6f 6d 2e | 20 20 49 66 20 66 6f 72 |ed from.| If for|
|00000dc0| 0a 73 6f 6d 65 20 72 65 | 61 73 6f 6e 20 79 6f 75 |.some re|ason you|
|00000dd0| 20 77 61 6e 74 20 74 6f | 20 6c 65 61 76 65 20 61 | want to| leave a|
|00000de0| 6e 20 61 6c 72 65 61 64 | 79 20 65 78 69 73 74 69 |n alread|y existi|
|00000df0| 6e 67 20 65 6d 61 63 73 | 20 75 6e 61 64 75 6c 74 |ng emacs| unadult|
|00000e00| 65 72 61 74 65 64 2c 0a | 79 6f 75 20 63 61 6e 20 |erated,.|you can |
|00000e10| 62 75 69 6c 64 20 61 6e | 6f 74 68 65 72 20 76 65 |build an|other ve|
|00000e20| 72 73 69 6f 6e 20 6f 66 | 20 65 6d 61 63 73 20 61 |rsion of| emacs a|
|00000e30| 6e 64 20 63 61 6c 6c 20 | 69 74 20 73 6f 6d 65 74 |nd call |it somet|
|00000e40| 68 69 6e 67 20 65 6c 73 | 65 20 61 6e 64 0a 75 73 |hing els|e and.us|
|00000e50| 65 20 61 6c 6c 20 74 68 | 65 20 73 61 6d 65 20 73 |e all th|e same s|
|00000e60| 75 70 70 6f 72 74 20 63 | 6f 64 65 2f 74 65 78 69 |upport c|ode/texi|
|00000e70| 6e 66 6f 20 66 72 6f 6d | 20 74 68 65 20 6f 74 68 |nfo from| the oth|
|00000e80| 65 72 20 76 65 72 73 69 | 6f 6e 2e 20 20 54 68 69 |er versi|on. Thi|
|00000e90| 73 0a 63 61 6e 20 62 65 | 20 64 6f 6e 65 20 62 79 |s.can be| done by|
|00000ea0| 20 72 65 75 73 69 6e 67 | 20 74 68 65 20 73 61 6d | reusing| the sam|
|00000eb0| 65 20 70 61 74 68 73 2e | 68 20 66 69 6c 65 20 74 |e paths.|h file t|
|00000ec0| 68 61 74 20 77 61 73 20 | 75 73 65 64 20 74 6f 20 |hat was |used to |
|00000ed0| 62 75 69 6c 64 0a 74 68 | 65 20 64 69 73 74 72 69 |build.th|e distri|
|00000ee0| 62 75 74 65 64 20 76 65 | 72 73 69 6f 6e 2e 20 20 |buted ve|rsion. |
|00000ef0| 54 68 65 6e 20 79 6f 75 | 20 77 69 6c 6c 20 68 61 |Then you| will ha|
|00000f00| 76 65 20 74 77 6f 20 65 | 78 65 63 75 74 61 62 6c |ve two e|xecutabl|
|00000f10| 65 73 20 73 68 61 72 69 | 6e 67 0a 74 68 65 20 73 |es shari|ng.the s|
|00000f20| 61 6d 65 20 73 75 70 70 | 6f 72 74 20 66 69 6c 65 |ame supp|ort file|
|00000f30| 73 2e 20 20 59 6f 75 20 | 77 69 6c 6c 20 68 6f 77 |s. You |will how|
|00000f40| 65 76 65 72 20 6e 65 65 | 64 20 74 6f 20 73 61 76 |ever nee|d to sav|
|00000f50| 65 20 74 68 65 0a 65 74 | 63 2f 44 4f 43 2d 31 38 |e the.et|c/DOC-18|
|00000f60| 2e 3f 3f 2e 3f 20 66 69 | 6c 65 20 74 68 61 74 20 |.??.? fi|le that |
|00000f70| 69 73 20 62 75 69 6c 74 | 20 61 74 20 63 6f 6d 70 |is built| at comp|
|00000f80| 69 6c 65 20 74 69 6d 65 | 20 61 6e 64 20 6d 6f 76 |ile time| and mov|
|00000f90| 65 20 69 74 20 69 6e 74 | 6f 0a 74 68 65 20 65 74 |e it int|o.the et|
|00000fa0| 63 20 64 69 72 65 63 74 | 6f 72 79 20 66 6f 72 20 |c direct|ory for |
|00000fb0| 74 68 65 20 6f 6e 6c 69 | 6e 65 20 68 65 6c 70 20 |the onli|ne help |
|00000fc0| 74 6f 20 77 6f 72 6b 2e | 0a 0a 54 6f 20 62 75 69 |to work.|..To bui|
|00000fd0| 6c 64 20 6d 76 69 2c 20 | 66 6f 6c 6c 6f 77 20 74 |ld mvi, |follow t|
|00000fe0| 68 65 73 65 20 69 6e 73 | 74 72 75 63 74 69 6f 6e |hese ins|truction|
|00000ff0| 73 3a 0a 0a 31 2e 20 63 | 61 74 20 6d 76 69 2e 65 |s:..1. c|at mvi.e|
|00001000| 6c 2e 31 20 6d 76 69 2e | 65 6c 2e 32 20 3e 20 6d |l.1 mvi.|el.2 > m|
|00001010| 76 69 2e 65 6c 0a 32 2e | 20 45 64 69 74 20 6d 76 |vi.el.2.| Edit mv|
|00001020| 69 2e 65 6c 2e 20 20 53 | 65 61 72 63 68 20 66 6f |i.el. S|earch fo|
|00001030| 72 20 74 68 65 20 66 75 | 6e 63 74 69 6f 6e 20 6d |r the fu|nction m|
|00001040| 76 69 2d 64 75 6d 70 2d | 65 6d 61 63 73 2e 20 20 |vi-dump-|emacs. |
|00001050| 45 64 69 74 20 74 68 65 | 20 70 61 74 68 0a 20 20 |Edit the| path. |
|00001060| 20 6e 61 6d 65 20 74 6f | 20 70 6f 69 6e 74 20 74 | name to| point t|
|00001070| 6f 20 74 68 65 20 73 6f | 75 72 63 65 20 64 69 72 |o the so|urce dir|
|00001080| 65 63 74 6f 72 79 20 77 | 68 65 72 65 20 74 65 6d |ectory w|here tem|
|00001090| 61 63 73 20 77 69 6c 6c | 20 62 65 2e 0a 33 2e 20 |acs will| be..3. |
|000010a0| 6d 6f 76 65 20 6d 76 69 | 2e 65 6c 20 69 6e 74 6f |move mvi|.el into|
|000010b0| 20 74 68 65 20 65 6d 61 | 63 73 20 6c 69 73 70 20 | the ema|cs lisp |
|000010c0| 64 69 72 65 63 74 6f 72 | 79 0a 34 2e 20 75 73 65 |director|y.4. use|
|000010d0| 20 65 6d 61 63 73 20 74 | 6f 20 62 79 74 65 20 63 | emacs t|o byte c|
|000010e0| 6f 6d 70 69 6c 65 20 6d | 76 69 2e 65 6c 20 69 6e |ompile m|vi.el in|
|000010f0| 74 6f 20 6d 76 69 2e 65 | 6c 63 2c 20 74 72 79 20 |to mvi.e|lc, try |
|00001100| 45 53 43 2d 78 20 0a 20 | 20 20 62 79 74 65 2d 63 |ESC-x . | byte-c|
|00001110| 6f 6d 70 69 6c 65 2d 66 | 69 6c 65 3b 20 74 68 61 |ompile-f|ile; tha|
|00001120| 74 20 69 73 2c 20 65 73 | 63 61 70 65 20 66 6f 6c |t is, es|cape fol|
|00001130| 6c 6f 77 65 64 20 62 79 | 20 78 20 66 6f 6c 6c 6f |lowed by| x follo|
|00001140| 77 65 64 20 62 79 20 0a | 20 20 20 62 79 74 65 2d |wed by .| byte-|
|00001150| 63 6f 6d 70 69 6c 65 2d | 66 69 6c 65 2e 0a 35 2e |compile-|file..5.|
|00001160| 20 75 73 65 20 70 61 74 | 63 68 20 3c 20 6c 6f 61 | use pat|ch < loa|
|00001170| 64 75 70 2e 70 61 74 63 | 68 20 69 6e 20 74 68 65 |dup.patc|h in the|
|00001180| 20 65 6d 61 63 73 20 6c | 69 73 70 20 64 69 72 65 | emacs l|isp dire|
|00001190| 63 74 6f 72 79 2e 0a 36 | 2e 20 49 6e 63 72 65 61 |ctory..6|. Increa|
|000011a0| 73 65 20 50 55 52 45 53 | 49 5a 45 20 69 6e 20 63 |se PURES|IZE in c|
|000011b0| 6f 6e 66 69 67 2e 68 20 | 74 6f 20 61 62 6f 75 74 |onfig.h |to about|
|000011c0| 20 31 38 30 30 30 30 2e | 0a 37 2e 20 67 6f 20 74 | 180000.|.7. go t|
|000011d0| 6f 20 74 68 65 20 73 72 | 63 20 64 69 72 65 63 74 |o the sr|c direct|
|000011e0| 6f 72 79 2e 20 75 73 65 | 20 70 61 74 63 68 20 3c |ory. use| patch <|
|000011f0| 20 6d 76 69 2e 70 61 74 | 63 68 20 74 6f 20 61 70 | mvi.pat|ch to ap|
|00001200| 70 6c 79 20 74 68 65 20 | 70 61 74 63 68 65 73 2e |ply the |patches.|
|00001210| 0a 38 2e 20 69 6e 20 74 | 68 65 20 73 6f 75 72 63 |.8. in t|he sourc|
|00001220| 65 20 64 69 72 65 63 74 | 6f 72 79 2c 20 74 79 70 |e direct|ory, typ|
|00001230| 65 20 6d 61 6b 65 2e 20 | 20 48 6f 70 65 66 75 6c |e make. | Hopeful|
|00001240| 6c 79 2c 20 74 68 69 73 | 20 77 69 6c 6c 20 62 75 |ly, this| will bu|
|00001250| 69 6c 64 0a 20 20 20 61 | 20 77 6f 72 6b 69 6e 67 |ild. a| working|
|00001260| 20 65 6d 61 63 73 2e 0a | 2f 2f 45 2a 4f 2a 46 20 | emacs..|//E*O*F |
|00001270| 52 45 41 44 4d 45 2f 2f | 0a 0a 65 63 68 6f 20 78 |README//|..echo x|
|00001280| 20 2d 20 64 6f 74 2e 65 | 6d 61 63 73 0a 63 61 74 | - dot.e|macs.cat|
|00001290| 20 3e 20 22 64 6f 74 2e | 65 6d 61 63 73 22 20 3c | > "dot.|emacs" <|
|000012a0| 3c 20 27 2f 2f 45 2a 4f | 2a 46 20 64 6f 74 2e 65 |< '//E*O|*F dot.e|
|000012b0| 6d 61 63 73 2f 2f 27 0a | 3b 20 75 73 65 20 69 74 |macs//'.|; use it|
|000012c0| 20 69 66 20 79 6f 75 20 | 6c 69 6b 65 20 69 74 20 | if you |like it |
|000012d0| 64 65 6c 65 74 65 20 69 | 74 20 6f 74 68 65 72 77 |delete i|t otherw|
|000012e0| 69 73 65 0a 0a 3b 20 74 | 75 72 6e 20 6f 6e 20 66 |ise..; t|urn on f|
|000012f0| 6c 6f 77 20 63 6f 6e 74 | 72 6f 6c 0a 0a 28 73 65 |low cont|rol..(se|
|00001300| 74 2d 69 6e 70 75 74 2d | 6d 6f 64 65 20 6e 69 6c |t-input-|mode nil|
|00001310| 20 74 29 0a 0a 3b 20 52 | 65 6d 61 70 20 5e 53 20 | t)..; R|emap ^S |
|00001320| 61 6e 64 20 5e 51 20 74 | 6f 20 5e 5c 20 61 6e 64 |and ^Q t|o ^\ and|
|00001330| 20 5e 5e 20 61 6e 64 20 | 65 78 63 68 61 6e 67 65 | ^^ and |exchange|
|00001340| 20 62 61 63 73 70 61 63 | 65 20 61 6e 64 20 64 65 | bacspac|e and de|
|00001350| 6c 65 74 65 0a 0a 28 73 | 65 74 71 20 6b 65 79 62 |lete..(s|etq keyb|
|00001360| 6f 61 72 64 2d 74 72 61 | 6e 73 6c 61 74 65 2d 74 |oard-tra|nslate-t|
|00001370| 61 62 6c 65 20 22 5c 30 | 30 30 5c 30 30 31 5c 30 |able "\0|00\001\0|
|00001380| 30 32 5c 30 30 33 5c 30 | 30 34 5c 30 30 35 5c 30 |02\003\0|04\005\0|
|00001390| 30 36 5c 30 30 37 5c 31 | 37 37 5c 30 31 31 5c 30 |06\007\1|77\011\0|
|000013a0| 31 32 5c 30 31 33 5c 30 | 31 34 5c 30 31 35 5c 30 |12\013\0|14\015\0|
|000013b0| 31 36 5c 30 31 37 5c 30 | 32 30 5c 30 32 31 5c 30 |16\017\0|20\021\0|
|000013c0| 32 32 5c 30 32 33 5c 30 | 32 34 5c 30 32 35 5c 30 |22\023\0|24\025\0|
|000013d0| 32 36 5c 30 32 37 5c 30 | 33 30 5c 30 33 31 5c 30 |26\027\0|30\031\0|
|000013e0| 33 32 5c 30 33 33 5c 30 | 32 33 5c 30 33 35 5c 30 |32\033\0|23\035\0|
|000013f0| 32 31 5c 30 33 37 20 21 | 5c 30 34 32 23 24 25 26 |21\037 !|\042#$%&|
|00001400| 27 28 29 2a 2b 2c 2d 2e | 2f 30 31 32 33 34 35 36 |'()*+,-.|/0123456|
|00001410| 37 38 39 3a 3b 3c 3d 3e | 3f 40 41 42 43 44 45 46 |789:;<=>|?@ABCDEF|
|00001420| 47 48 49 4a 4b 4c 4d 4e | 4f 50 51 52 53 54 55 56 |GHIJKLMN|OPQRSTUV|
|00001430| 57 58 59 5a 5b 5c 31 33 | 34 5d 5e 5f 60 61 62 63 |WXYZ[\13|4]^_`abc|
|00001440| 64 65 66 67 68 69 6a 6b | 6c 6d 6e 6f 70 71 72 73 |defghijk|lmnopqrs|
|00001450| 74 75 76 77 78 79 7a 7b | 7c 7d 7e 5c 30 31 30 22 |tuvwxyz{||}~\010"|
|00001460| 29 0a 0a 3b 20 6d 6f 72 | 65 20 76 69 20 6c 69 6b |)..; mor|e vi lik|
|00001470| 65 2c 20 64 65 6c 65 61 | 74 69 6e 67 20 77 69 6c |e, delea|ting wil|
|00001480| 6c 20 67 65 74 20 65 6d | 61 63 73 20 62 65 68 61 |l get em|acs beha|
|00001490| 76 69 6f 75 72 0a 0a 28 | 73 65 74 71 20 73 63 72 |viour..(|setq scr|
|000014a0| 6f 6c 6c 2d 73 74 65 70 | 20 31 29 0a 0a 3b 20 61 |oll-step| 1)..; a|
|000014b0| 20 64 69 72 65 63 74 6f | 72 79 20 6f 66 20 6c 69 | directo|ry of li|
|000014c0| 73 70 20 73 74 75 66 66 | 20 74 68 61 74 20 63 61 |sp stuff| that ca|
|000014d0| 6e 20 62 65 20 6c 6f 61 | 64 65 64 0a 0a 28 73 65 |n be loa|ded..(se|
|000014e0| 74 71 20 6c 6f 61 64 2d | 70 61 74 68 20 28 61 70 |tq load-|path (ap|
|000014f0| 70 65 6e 64 20 28 6c 69 | 73 74 20 22 2f 75 73 72 |pend (li|st "/usr|
|00001500| 2f 64 6a 73 2f 47 4e 55 | 6d 61 63 73 22 29 20 6c |/djs/GNU|macs") l|
|00001510| 6f 61 64 2d 70 61 74 68 | 29 29 0a 0a 3b 20 67 6f |oad-path|))..; go|
|00001520| 20 69 6e 74 6f 20 76 69 | 20 6d 6f 64 65 20 77 68 | into vi| mode wh|
|00001530| 65 6e 20 61 20 66 69 6c | 65 20 69 73 20 72 65 61 |en a fil|e is rea|
|00001540| 64 20 69 6e 0a 0a 28 73 | 65 74 71 20 66 69 6e 64 |d in..(s|etq find|
|00001550| 2d 66 69 6c 65 2d 68 6f | 6f 6b 73 20 27 28 6d 76 |-file-ho|oks '(mv|
|00001560| 69 2d 65 6d 61 63 73 2d | 74 6f 2d 76 69 29 29 0a |i-emacs-|to-vi)).|
|00001570| 0a 3b 20 61 20 76 69 20 | 6c 69 6b 65 20 69 6e 64 |.; a vi |like ind|
|00001580| 65 6e 74 20 66 75 63 74 | 69 6f 6e 20 66 6f 72 20 |ent fuct|ion for |
|00001590| 66 75 6e 64 61 6d 65 6e | 74 61 6c 20 6d 6f 64 65 |fundamen|tal mode|
|000015a0| 0a 0a 28 73 65 74 71 20 | 69 6e 64 65 6e 74 2d 6c |..(setq |indent-l|
|000015b0| 69 6e 65 2d 66 75 6e 63 | 74 69 6f 6e 20 27 64 6f |ine-func|tion 'do|
|000015c0| 75 67 2d 69 6e 64 65 6e | 74 29 0a 0a 3b 20 6c 6f |ug-inden|t)..; lo|
|000015d0| 61 64 20 74 68 65 20 69 | 6e 64 65 6e 74 20 66 75 |ad the i|ndent fu|
|000015e0| 6e 63 74 69 6f 6e 0a 0a | 28 6c 6f 61 64 20 22 64 |nction..|(load "d|
|000015f0| 6f 75 67 2d 6d 69 73 63 | 22 29 0a 0a 3b 20 20 4e |oug-misc|")..; N|
|00001600| 65 65 64 65 64 20 66 6f | 72 20 70 72 6f 70 65 72 |eeded fo|r proper|
|00001610| 20 61 75 74 6f 20 69 6e | 64 65 6e 74 0a 0a 28 67 | auto in|dent..(g|
|00001620| 6c 6f 62 61 6c 2d 73 65 | 74 2d 6b 65 79 20 22 5c |lobal-se|t-key "\|
|00001630| 43 2d 6d 22 20 27 64 6f | 75 67 2d 6e 65 77 6c 69 |C-m" 'do|ug-newli|
|00001640| 6e 65 29 0a 2f 2f 45 2a | 4f 2a 46 20 64 6f 74 2e |ne).//E*|O*F dot.|
|00001650| 65 6d 61 63 73 2f 2f 0a | 0a 65 63 68 6f 20 78 20 |emacs//.|.echo x |
|00001660| 2d 20 64 6f 75 67 2d 6d | 69 73 63 2e 65 6c 0a 63 |- doug-m|isc.el.c|
|00001670| 61 74 20 3e 20 22 64 6f | 75 67 2d 6d 69 73 63 2e |at > "do|ug-misc.|
|00001680| 65 6c 22 20 3c 3c 20 27 | 2f 2f 45 2a 4f 2a 46 20 |el" << '|//E*O*F |
|00001690| 64 6f 75 67 2d 6d 69 73 | 63 2e 65 6c 2f 2f 27 0a |doug-mis|c.el//'.|
|000016a0| 3b 20 79 6f 75 20 73 68 | 6f 75 6c 64 20 62 79 74 |; you sh|ould byt|
|000016b0| 65 20 63 6f 6d 70 69 6c | 65 20 74 68 69 73 20 66 |e compil|e this f|
|000016c0| 69 6c 65 20 66 6f 72 20 | 65 66 66 69 63 69 65 6e |ile for |efficien|
|000016d0| 63 79 20 73 61 6b 65 0a | 0a 3b 20 6e 65 65 64 65 |cy sake.|.; neede|
|000016e0| 64 20 66 6f 72 20 61 75 | 74 6f 20 69 6e 64 65 6e |d for au|to inden|
|000016f0| 74 0a 0a 28 64 65 66 75 | 6e 20 64 6f 75 67 2d 6e |t..(defu|n doug-n|
|00001700| 65 77 6c 69 6e 65 20 28 | 29 0a 20 20 22 50 65 72 |ewline (|). "Per|
|00001710| 66 6f 72 6d 20 6e 65 77 | 6c 69 6e 65 20 61 6e 64 |form new|line and|
|00001720| 20 69 6e 64 65 6e 74 2e | 22 0a 20 20 28 69 6e 74 | indent.|". (int|
|00001730| 65 72 61 63 74 69 76 65 | 29 0a 20 20 28 6e 65 77 |eractive|). (new|
|00001740| 6c 69 6e 65 29 0a 20 20 | 28 69 6e 64 65 6e 74 2d |line). |(indent-|
|00001750| 61 63 63 6f 72 64 69 6e | 67 2d 74 6f 2d 6d 6f 64 |accordin|g-to-mod|
|00001760| 65 29 29 0a 0a 3b 20 61 | 20 76 69 20 6c 69 6b 65 |e))..; a| vi like|
|00001770| 20 69 6e 64 65 6e 74 20 | 66 75 63 74 69 6f 6e 20 | indent |fuction |
|00001780| 66 6f 72 20 66 75 6e 64 | 61 6d 65 6e 74 61 6c 20 |for fund|amental |
|00001790| 6d 6f 64 65 0a 0a 28 64 | 65 66 75 6e 20 64 6f 75 |mode..(d|efun dou|
|000017a0| 67 2d 69 6e 64 65 6e 74 | 20 28 29 0a 20 20 22 50 |g-indent| (). "P|
|000017b0| 65 72 66 6f 72 6d 20 69 | 6e 64 65 6e 74 2e 22 0a |erform i|ndent.".|
|000017c0| 20 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 29 0a | (inter|active).|
|000017d0| 20 20 28 6c 65 74 20 28 | 28 74 6d 70 29 29 0a 20 | (let (|(tmp)). |
|000017e0| 20 20 20 28 63 6f 6e 64 | 0a 20 20 20 20 20 28 28 | (cond|. ((|
|000017f0| 65 71 75 61 6c 20 6d 6f | 64 65 2d 6c 69 6e 65 2d |equal mo|de-line-|
|00001800| 62 75 66 66 65 72 2d 69 | 64 65 6e 74 69 66 69 63 |buffer-i|dentific|
|00001810| 61 74 69 6f 6e 20 27 28 | 22 49 6e 73 65 72 74 3a |ation '(|"Insert:|
|00001820| 25 31 37 62 22 29 29 0a | 20 20 20 20 20 20 28 73 |%17b")).| (s|
|00001830| 61 76 65 2d 65 78 63 75 | 72 73 69 6f 6e 0a 09 28 |ave-excu|rsion..(|
|00001840| 6d 76 69 2d 66 6f 72 77 | 61 72 64 2d 6c 69 6e 65 |mvi-forw|ard-line|
|00001850| 20 2d 31 29 0a 09 28 73 | 65 74 71 20 74 6d 70 20 | -1)..(s|etq tmp |
|00001860| 28 63 75 72 72 65 6e 74 | 2d 63 6f 6c 75 6d 6e 29 |(current|-column)|
|00001870| 29 29 0a 20 20 20 20 20 | 20 28 69 6e 64 65 6e 74 |)). | (indent|
|00001880| 2d 74 6f 20 74 6d 70 20 | 30 29 29 0a 20 20 20 20 |-to tmp |0)). |
|00001890| 20 28 28 65 71 20 74 68 | 69 73 2d 63 6f 6d 6d 61 | ((eq th|is-comma|
|000018a0| 6e 64 20 27 6d 76 69 2d | 4f 29 0a 20 20 20 20 20 |nd 'mvi-|O). |
|000018b0| 20 28 73 61 76 65 2d 65 | 78 63 75 72 73 69 6f 6e | (save-e|xcursion|
|000018c0| 0a 09 28 6d 76 69 2d 66 | 6f 72 77 61 72 64 2d 6c |..(mvi-f|orward-l|
|000018d0| 69 6e 65 20 31 29 0a 09 | 28 73 65 74 71 20 74 6d |ine 1)..|(setq tm|
|000018e0| 70 20 28 63 75 72 72 65 | 6e 74 2d 63 6f 6c 75 6d |p (curre|nt-colum|
|000018f0| 6e 29 29 29 0a 20 20 20 | 20 20 20 28 69 6e 64 65 |n))). | (inde|
|00001900| 6e 74 2d 74 6f 20 74 6d | 70 20 30 29 29 0a 20 20 |nt-to tm|p 0)). |
|00001910| 20 20 20 28 74 0a 20 20 | 20 20 20 20 28 73 61 76 | (t. | (sav|
|00001920| 65 2d 65 78 63 75 72 73 | 69 6f 6e 0a 09 28 6d 76 |e-excurs|ion..(mv|
|00001930| 69 2d 66 6f 72 77 61 72 | 64 2d 6c 69 6e 65 20 2d |i-forwar|d-line -|
|00001940| 31 29 0a 09 28 73 65 74 | 71 20 74 6d 70 20 28 63 |1)..(set|q tmp (c|
|00001950| 75 72 72 65 6e 74 2d 63 | 6f 6c 75 6d 6e 29 29 29 |urrent-c|olumn)))|
|00001960| 0a 20 20 20 20 20 20 28 | 6d 76 69 2d 66 6f 72 77 |. (|mvi-forw|
|00001970| 61 72 64 2d 6c 69 6e 65 | 20 30 29 0a 20 20 20 20 |ard-line| 0). |
|00001980| 20 20 28 64 65 6c 65 74 | 65 2d 72 65 67 69 6f 6e | (delet|e-region|
|00001990| 20 28 70 6f 69 6e 74 29 | 20 28 70 72 6f 67 6e 20 | (point)| (progn |
|000019a0| 28 62 65 67 69 6e 6e 69 | 6e 67 2d 6f 66 2d 6c 69 |(beginni|ng-of-li|
|000019b0| 6e 65 29 20 28 70 6f 69 | 6e 74 29 29 29 0a 20 20 |ne) (poi|nt))). |
|000019c0| 20 20 20 20 28 69 6e 64 | 65 6e 74 2d 74 6f 20 74 | (ind|ent-to t|
|000019d0| 6d 70 20 30 29 29 29 29 | 29 0a 0a 3b 20 61 6e 20 |mp 0))))|)..; an |
|000019e0| 65 78 61 6d 70 6c 65 20 | 6f 66 20 73 65 74 75 70 |example |of setup|
|000019f0| 20 66 6f 72 20 75 73 65 | 20 77 69 74 68 20 74 68 | for use| with th|
|00001a00| 65 20 6e 72 6f 66 66 20 | 6d 6d 20 6d 61 63 72 6f |e nroff |mm macro|
|00001a10| 20 70 61 63 6b 61 67 65 | 2e 0a 3b 20 69 6c 6c 69 | package|..; illi|
|00001a20| 73 74 72 61 74 65 73 20 | 74 68 65 20 75 73 65 20 |strates |the use |
|00001a30| 6f 66 20 74 68 65 20 74 | 65 78 74 20 73 65 78 70 |of the t|ext sexp|
|00001a40| 20 73 74 75 66 66 0a 0a | 28 64 65 66 75 6e 20 6d | stuff..|(defun m|
|00001a50| 6d 2d 6d 6f 64 65 20 28 | 29 0a 20 20 28 69 6e 74 |m-mode (|). (int|
|00001a60| 65 72 61 63 74 69 76 65 | 29 0a 20 20 28 6d 61 6b |eractive|). (mak|
|00001a70| 65 2d 76 61 72 69 61 62 | 6c 65 2d 62 75 66 66 65 |e-variab|le-buffe|
|00001a80| 72 2d 6c 6f 63 61 6c 20 | 27 70 61 72 61 67 72 61 |r-local |'paragra|
|00001a90| 70 68 2d 73 74 61 72 74 | 29 0a 20 20 28 73 65 74 |ph-start|). (set|
|00001aa0| 71 20 70 61 72 61 67 72 | 61 70 68 2d 73 74 61 72 |q paragr|aph-star|
|00001ab0| 74 20 22 5e 5c 5c 2e 50 | 24 5c 5c 7c 5e 5c 5c 2e |t "^\\.P|$\\|^\\.|
|00001ac0| 48 20 22 29 0a 20 20 28 | 6d 61 6b 65 2d 76 61 72 |H "). (|make-var|
|00001ad0| 69 61 62 6c 65 2d 62 75 | 66 66 65 72 2d 6c 6f 63 |iable-bu|ffer-loc|
|00001ae0| 61 6c 20 27 70 61 67 65 | 2d 64 65 6c 69 6d 69 74 |al 'page|-delimit|
|00001af0| 65 72 29 0a 20 20 28 73 | 65 74 71 20 70 61 67 65 |er). (s|etq page|
|00001b00| 2d 64 65 6c 69 6d 69 74 | 65 72 20 22 5e 5c 5c 2e |-delimit|er "^\\.|
|00001b10| 48 20 22 29 0a 20 20 28 | 73 65 74 71 20 6f 75 74 |H "). (|setq out|
|00001b20| 6c 69 6e 65 2d 72 65 67 | 65 78 70 20 22 5c 5c 2e |line-reg|exp "\\.|
|00001b30| 48 20 31 5c 5c 7c 5c 5c | 2e 48 20 32 20 5c 5c 7c |H 1\\|\\|.H 2 \\||
|00001b40| 5c 5c 2e 48 20 33 20 2e | 5c 5c 7c 5c 5c 2e 48 20 |\\.H 3 .|\\|\\.H |
|00001b50| 34 20 2e 2e 5c 5c 7c 5c | 5c 2e 48 20 35 20 2e 2e |4 ..\\|\|\.H 5 ..|
|00001b60| 2e 22 29 0a 20 20 28 6d | 61 6b 65 2d 76 61 72 69 |."). (m|ake-vari|
|00001b70| 61 62 6c 65 2d 62 75 66 | 66 65 72 2d 6c 6f 63 61 |able-buf|fer-loca|
|00001b80| 6c 20 27 74 65 78 74 2d | 73 65 78 70 2d 64 65 6c |l 'text-|sexp-del|
|00001b90| 69 6d 29 0a 20 20 28 73 | 65 74 71 20 74 65 78 74 |im). (s|etq text|
|00001ba0| 2d 73 65 78 70 2d 64 65 | 6c 69 6d 20 22 5e 5c 5c |-sexp-de|lim "^\\|
|00001bb0| 2e 48 20 5b 31 32 33 34 | 35 5d 5c 5c 7c 5e 5c 5c |.H [1234|5]\\|^\\|
|00001bc0| 2e 5b 41 42 56 5d 4c 5c | 5c 7c 5e 5c 5c 2e 4c 45 |.[ABV]L\|\|^\\.LE|
|00001bd0| 5c 5c 7c 5e 5c 5c 2e 44 | 5b 53 46 45 5d 22 29 0a |\\|^\\.D|[SFE]").|
|00001be0| 20 20 28 6d 61 6b 65 2d | 76 61 72 69 61 62 6c 65 | (make-|variable|
|00001bf0| 2d 62 75 66 66 65 72 2d | 6c 6f 63 61 6c 20 27 74 |-buffer-|local 't|
|00001c00| 65 78 74 2d 73 65 78 70 | 2d 64 61 74 61 29 0a 20 |ext-sexp|-data). |
|00001c10| 20 28 73 65 74 71 20 74 | 65 78 74 2d 73 65 78 70 | (setq t|ext-sexp|
|00001c20| 2d 64 61 74 61 20 27 28 | 0a 09 09 20 28 22 2e 48 |-data '(|... (".H|
|00001c30| 20 31 22 20 2e 20 28 22 | 5e 5c 5c 2e 48 20 31 22 | 1" . ("|^\\.H 1"|
|00001c40| 20 74 20 22 5c 5c 2e 4c | 45 5c 5c 7c 5c 5c 2e 44 | t "\\.L|E\\|\\.D|
|00001c50| 45 22 20 6e 69 6c 20 6e | 69 6c 20 74 29 29 20 0a |E" nil n|il t)) .|
|00001c60| 09 09 20 28 22 2e 48 20 | 32 22 20 2e 20 28 22 5e |.. (".H |2" . ("^|
|00001c70| 5c 5c 2e 48 20 5b 31 32 | 5d 22 20 74 20 22 5c 5c |\\.H [12|]" t "\\|
|00001c80| 2e 4c 45 5c 5c 7c 5c 5c | 2e 44 45 22 20 6e 69 6c |.LE\\|\\|.DE" nil|
|00001c90| 20 6e 69 6c 20 74 29 29 | 20 0a 09 09 20 28 22 2e | nil t))| ... (".|
|00001ca0| 48 20 33 22 20 2e 20 28 | 22 5e 5c 5c 2e 48 20 5b |H 3" . (|"^\\.H [|
|00001cb0| 31 32 33 5d 22 20 74 20 | 22 5c 5c 2e 4c 45 5c 5c |123]" t |"\\.LE\\|
|00001cc0| 7c 5c 5c 2e 44 45 22 20 | 6e 69 6c 20 6e 69 6c 20 ||\\.DE" |nil nil |
|00001cd0| 74 29 29 20 0a 09 09 20 | 28 22 2e 48 20 34 22 20 |t)) ... |(".H 4" |
|00001ce0| 2e 20 28 22 5e 5c 5c 2e | 48 20 5b 31 32 33 34 5d |. ("^\\.|H [1234]|
|00001cf0| 22 20 74 20 22 5c 5c 2e | 4c 45 5c 5c 7c 5c 5c 2e |" t "\\.|LE\\|\\.|
|00001d00| 44 45 22 20 6e 69 6c 20 | 6e 69 6c 20 74 29 29 20 |DE" nil |nil t)) |
|00001d10| 0a 09 09 20 28 22 2e 48 | 20 35 22 20 2e 20 28 22 |... (".H| 5" . ("|
|00001d20| 5e 5c 5c 2e 48 20 5b 31 | 32 33 34 35 5d 22 20 74 |^\\.H [1|2345]" t|
|00001d30| 20 22 5c 5c 2e 4c 45 5c | 5c 7c 5c 5c 2e 44 45 22 | "\\.LE\|\|\\.DE"|
|00001d40| 20 6e 69 6c 20 6e 69 6c | 20 74 29 29 20 0a 09 09 | nil nil| t)) ...|
|00001d50| 20 28 22 2e 41 4c 22 20 | 2e 20 28 22 5e 5c 5c 2e | (".AL" |. ("^\\.|
|00001d60| 4c 45 22 20 74 20 22 5c | 5c 2e 48 22 20 74 20 6e |LE" t "\|\.H" t n|
|00001d70| 69 6c 20 6e 69 6c 29 29 | 0a 09 09 20 28 22 2e 42 |il nil))|... (".B|
|00001d80| 4c 22 20 2e 20 28 22 5e | 5c 5c 2e 4c 45 22 20 74 |L" . ("^|\\.LE" t|
|00001d90| 20 22 5c 5c 2e 48 22 20 | 74 20 6e 69 6c 20 6e 69 | "\\.H" |t nil ni|
|00001da0| 6c 29 29 0a 09 09 20 28 | 22 2e 56 4c 22 20 2e 20 |l))... (|".VL" . |
|00001db0| 28 22 5e 5c 5c 2e 4c 45 | 22 20 74 20 22 5c 5c 2e |("^\\.LE|" t "\\.|
|00001dc0| 48 22 20 74 20 6e 69 6c | 20 6e 69 6c 29 29 0a 09 |H" t nil| nil))..|
|00001dd0| 09 20 28 22 2e 44 53 22 | 20 2e 20 28 22 5e 5c 5c |. (".DS"| . ("^\\|
|00001de0| 2e 44 45 22 20 74 20 22 | 5c 5c 2e 48 22 20 74 20 |.DE" t "|\\.H" t |
|00001df0| 6e 69 6c 20 6e 69 6c 29 | 29 0a 09 09 20 28 22 2e |nil nil)|)... (".|
|00001e00| 44 46 22 20 2e 20 28 22 | 5e 5c 5c 2e 44 45 22 20 |DF" . ("|^\\.DE" |
|00001e10| 74 20 22 5c 5c 2e 48 22 | 20 74 20 6e 69 6c 20 6e |t "\\.H"| t nil n|
|00001e20| 69 6c 29 29 0a 09 09 20 | 29 29 29 0a 2f 2f 45 2a |il))... |))).//E*|
|00001e30| 4f 2a 46 20 64 6f 75 67 | 2d 6d 69 73 63 2e 65 6c |O*F doug|-misc.el|
|00001e40| 2f 2f 0a 0a 65 63 68 6f | 20 78 20 2d 20 6c 6f 61 |//..echo| x - loa|
|00001e50| 64 75 70 2e 70 61 74 63 | 68 0a 63 61 74 20 3e 20 |dup.patc|h.cat > |
|00001e60| 22 6c 6f 61 64 75 70 2e | 70 61 74 63 68 22 20 3c |"loadup.|patch" <|
|00001e70| 3c 20 27 2f 2f 45 2a 4f | 2a 46 20 6c 6f 61 64 75 |< '//E*O|*F loadu|
|00001e80| 70 2e 70 61 74 63 68 2f | 2f 27 0a 2a 2a 2a 20 6c |p.patch/|/'.*** l|
|00001e90| 6f 61 64 75 70 2e 65 6c | 2e 6f 72 69 67 09 46 72 |oadup.el|.orig.Fr|
|00001ea0| 69 20 4e 6f 76 20 31 37 | 20 31 35 3a 35 30 3a 32 |i Nov 17| 15:50:2|
|00001eb0| 32 20 31 39 38 39 0a 2d | 2d 2d 20 6c 6f 61 64 75 |2 1989.-|-- loadu|
|00001ec0| 70 2e 65 6c 09 46 72 69 | 20 4e 6f 76 20 31 37 20 |p.el.Fri| Nov 17 |
|00001ed0| 31 35 3a 35 34 3a 33 31 | 20 31 39 38 39 0a 2a 2a |15:54:31| 1989.**|
|00001ee0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 0a 2a 2a |********|*****.**|
|00001ef0| 2a 20 33 30 2c 33 35 0a | 20 20 28 67 61 72 62 61 |* 30,35.| (garba|
|00001f00| 67 65 2d 63 6f 6c 6c 65 | 63 74 29 0a 20 20 28 6c |ge-colle|ct). (l|
|00001f10| 6f 61 64 20 22 66 69 6c | 65 73 22 29 0a 20 20 28 |oad "fil|es"). (|
|00001f20| 67 61 72 62 61 67 65 2d | 63 6f 6c 6c 65 63 74 29 |garbage-|collect)|
|00001f30| 0a 20 20 28 6c 6f 61 64 | 20 22 69 6e 64 65 6e 74 |. (load| "indent|
|00001f40| 22 29 0a 20 20 28 6c 6f | 61 64 20 22 77 69 6e 64 |"). (lo|ad "wind|
|00001f50| 6f 77 22 29 0a 20 20 28 | 6c 6f 61 64 20 22 70 61 |ow"). (|load "pa|
|00001f60| 74 68 73 2e 65 6c 22 29 | 20 20 3b 44 6f 6e 27 74 |ths.el")| ;Don't|
|00001f70| 20 67 65 74 20 63 6f 6e | 66 75 73 65 64 20 69 66 | get con|fused if|
|00001f80| 20 73 6f 6d 65 6f 6e 65 | 20 63 6f 6d 70 69 6c 65 | someone| compile|
|00001f90| 64 20 70 61 74 68 73 20 | 62 79 20 6d 69 73 74 61 |d paths |by mista|
|00001fa0| 6b 65 2e 0a 0a 2d 2d 2d | 20 33 30 2c 33 37 20 2d |ke...---| 30,37 -|
|00001fb0| 2d 2d 2d 2d 0a 20 20 28 | 67 61 72 62 61 67 65 2d |----. (|garbage-|
|00001fc0| 63 6f 6c 6c 65 63 74 29 | 0a 20 20 28 6c 6f 61 64 |collect)|. (load|
|00001fd0| 20 22 66 69 6c 65 73 22 | 29 0a 20 20 28 67 61 72 | "files"|). (gar|
|00001fe0| 62 61 67 65 2d 63 6f 6c | 6c 65 63 74 29 0a 2b 20 |bage-col|lect).+ |
|00001ff0| 28 6c 6f 61 64 20 22 6d | 76 69 22 29 0a 2b 20 28 |(load "m|vi").+ (|
|00002000| 67 61 72 62 61 67 65 2d | 63 6f 6c 6c 65 63 74 29 |garbage-|collect)|
|00002010| 0a 20 20 28 6c 6f 61 64 | 20 22 69 6e 64 65 6e 74 |. (load| "indent|
|00002020| 22 29 0a 20 20 28 6c 6f | 61 64 20 22 77 69 6e 64 |"). (lo|ad "wind|
|00002030| 6f 77 22 29 0a 20 20 28 | 6c 6f 61 64 20 22 70 61 |ow"). (|load "pa|
|00002040| 74 68 73 2e 65 6c 22 29 | 20 20 3b 44 6f 6e 27 74 |ths.el")| ;Don't|
|00002050| 20 67 65 74 20 63 6f 6e | 66 75 73 65 64 20 69 66 | get con|fused if|
|00002060| 20 73 6f 6d 65 6f 6e 65 | 20 63 6f 6d 70 69 6c 65 | someone| compile|
|00002070| 64 20 70 61 74 68 73 20 | 62 79 20 6d 69 73 74 61 |d paths |by mista|
|00002080| 6b 65 2e 0a 2f 2f 45 2a | 4f 2a 46 20 6c 6f 61 64 |ke..//E*|O*F load|
|00002090| 75 70 2e 70 61 74 63 68 | 2f 2f 0a 0a 65 63 68 6f |up.patch|//..echo|
|000020a0| 20 78 20 2d 20 6d 76 69 | 2e 6d 61 6e 0a 63 61 74 | x - mvi|.man.cat|
|000020b0| 20 3e 20 22 6d 76 69 2e | 6d 61 6e 22 20 3c 3c 20 | > "mvi.|man" << |
|000020c0| 27 2f 2f 45 2a 4f 2a 46 | 20 6d 76 69 2e 6d 61 6e |'//E*O*F| mvi.man|
|000020d0| 2f 2f 27 0a 0a 0a 09 09 | 09 20 20 20 20 20 20 4d |//'.....|. M|
|000020e0| 56 49 20 4d 61 6e 75 61 | 6c 0a 09 09 09 20 20 20 |VI Manua|l.... |
|000020f0| 20 20 56 65 72 73 69 6f | 6e 20 31 2e 30 0a 09 09 | Versio|n 1.0...|
|00002100| 09 20 20 20 20 4d 61 72 | 63 68 20 32 36 2c 20 31 |. Mar|ch 26, 1|
|00002110| 39 39 30 0a 09 09 09 20 | 41 75 74 68 6f 72 3a 20 |990.... |Author: |
|00002120| 44 6f 75 67 20 53 63 6f | 66 65 61 0a 09 09 09 50 |Doug Sco|fea....P|
|00002130| 68 6f 6e 65 3a 20 2b 31 | 20 36 31 34 20 34 35 39 |hone: +1| 614 459|
|00002140| 20 31 38 38 39 0a 09 09 | 20 20 20 20 20 20 45 6d | 1889...| Em|
|00002150| 61 69 6c 3a 20 6f 73 75 | 2d 63 69 73 21 6e 69 6d |ail: osu|-cis!nim|
|00002160| 62 75 73 33 21 64 6a 73 | 0a 09 09 09 20 20 20 20 |bus3!djs|.... |
|00002170| 20 20 0a 09 09 09 20 20 | 20 20 20 20 0a 31 2e 20 | .... | .1. |
|00002180| 49 6e 74 72 6f 64 75 63 | 74 69 6f 6e 0a 0a 54 68 |Introduc|tion..Th|
|00002190| 69 73 20 69 73 20 6e 6f | 74 20 61 20 76 69 20 63 |is is no|t a vi c|
|000021a0| 6c 6f 6e 65 2e 20 20 56 | 69 20 68 61 73 20 65 6e |lone. V|i has en|
|000021b0| 6f 75 67 68 20 62 72 61 | 69 6e 20 64 61 6d 61 67 |ough bra|in damag|
|000021c0| 65 20 66 6c 6f 61 74 69 | 6e 67 20 61 72 6f 75 6e |e floati|ng aroun|
|000021d0| 64 0a 69 6e 20 69 74 73 | 20 63 6f 64 65 20 74 68 |d.in its| code th|
|000021e0| 61 74 20 49 20 66 65 6c | 74 20 6e 6f 20 6e 65 65 |at I fel|t no nee|
|000021f0| 64 20 74 6f 20 63 61 72 | 72 79 20 66 6f 72 77 61 |d to car|ry forwa|
|00002200| 72 64 2e 20 20 49 6e 20 | 74 68 69 73 20 6d 61 6e |rd. In |this man|
|00002210| 75 61 6c 2c 0a 49 27 6c | 6c 20 74 72 79 20 74 6f |ual,.I'l|l try to|
|00002220| 20 65 78 70 6c 61 69 6e | 20 74 68 65 20 64 69 66 | explain| the dif|
|00002230| 66 65 72 65 6e 63 65 73 | 20 62 65 74 77 65 65 6e |ferences| between|
|00002240| 20 6d 76 69 20 61 6e 64 | 20 72 65 61 6c 20 76 69 | mvi and| real vi|
|00002250| 2e 20 20 4d 76 69 0a 73 | 75 70 70 6f 72 74 73 20 |. Mvi.s|upports |
|00002260| 6e 6f 6e 65 20 6f 66 20 | 74 68 65 20 65 78 20 63 |none of |the ex c|
|00002270| 6f 6d 6d 61 6e 64 73 2e | 20 20 49 74 20 73 65 65 |ommands.| It see|
|00002280| 6d 65 64 20 70 6f 69 6e | 74 6c 65 73 73 2c 20 73 |med poin|tless, s|
|00002290| 69 6e 63 65 20 65 6d 61 | 63 73 0a 68 61 73 20 66 |ince ema|cs.has f|
|000022a0| 61 72 20 6d 6f 72 65 20 | 70 6f 77 65 72 66 75 6c |ar more |powerful|
|000022b0| 20 76 65 72 73 69 6f 6e | 73 20 6f 66 20 65 76 65 | version|s of eve|
|000022c0| 72 79 74 68 69 6e 67 20 | 49 20 65 76 65 72 20 64 |rything |I ever d|
|000022d0| 69 64 20 77 69 74 68 20 | 65 78 2e 0a 54 68 75 73 |id with |ex..Thus|
|000022e0| 2c 20 79 6f 75 20 63 61 | 6e 27 74 20 65 73 63 61 |, you ca|n't esca|
|000022f0| 70 65 20 6c 65 61 72 6e | 69 6e 67 20 73 6f 6d 65 |pe learn|ing some|
|00002300| 20 65 6d 61 63 73 20 69 | 66 20 79 6f 75 20 77 61 | emacs i|f you wa|
|00002310| 6e 74 20 74 6f 20 75 73 | 65 20 74 68 69 73 0a 70 |nt to us|e this.p|
|00002320| 61 63 6b 61 67 65 2e 20 | 20 44 4f 4e 27 54 20 50 |ackage. | DON'T P|
|00002330| 41 4e 49 43 2c 20 69 6e | 20 6d 6f 73 74 20 72 65 |ANIC, in| most re|
|00002340| 73 70 65 63 74 73 2c 20 | 65 6d 61 63 73 20 69 73 |spects, |emacs is|
|00002350| 20 66 61 72 20 6d 6f 72 | 65 20 63 6f 6e 73 69 73 | far mor|e consis|
|00002360| 74 65 6e 74 0a 61 6e 64 | 20 70 6f 77 65 72 66 75 |tent.and| powerfu|
|00002370| 6c 20 74 68 61 6e 20 76 | 69 2c 20 49 20 6a 75 73 |l than v|i, I jus|
|00002380| 74 20 63 6f 75 6c 64 6e | 27 74 20 64 65 61 6c 20 |t couldn|'t deal |
|00002390| 77 69 74 68 20 61 6c 6c | 20 74 68 65 20 6b 65 79 |with all| the key|
|000023a0| 73 74 72 6f 6b 65 73 20 | 69 74 0a 74 6f 6f 6b 20 |strokes |it.took |
|000023b0| 74 6f 20 64 6f 20 74 72 | 69 76 69 61 6c 20 65 64 |to do tr|ivial ed|
|000023c0| 69 74 69 6e 67 20 63 68 | 6f 72 65 73 2e 0a 0a 32 |iting ch|ores...2|
|000023d0| 2e 20 4b 65 79 73 20 69 | 6e 20 4d 76 69 20 4d 6f |. Keys i|n Mvi Mo|
|000023e0| 64 65 0a 0a 46 72 6f 6d | 20 65 6d 61 63 73 20 6d |de..From| emacs m|
|000023f0| 6f 64 65 20 5e 5a 20 77 | 69 6c 6c 20 65 6e 74 65 |ode ^Z w|ill ente|
|00002400| 72 20 79 6f 75 20 69 6e | 74 6f 20 6d 76 69 20 6d |r you in|to mvi m|
|00002410| 6f 64 65 20 61 6e 64 20 | 77 68 69 6c 65 20 69 6e |ode and |while in|
|00002420| 20 6d 76 69 20 6d 6f 64 | 65 0a 5e 5a 20 77 69 6c | mvi mod|e.^Z wil|
|00002430| 6c 20 74 61 6b 65 20 79 | 6f 75 20 62 61 63 6b 20 |l take y|ou back |
|00002440| 74 6f 20 65 6d 61 63 73 | 20 6d 6f 64 65 2e 20 20 |to emacs| mode. |
|00002450| 57 68 69 6c 65 20 69 6e | 20 6d 76 69 20 6d 6f 64 |While in| mvi mod|
|00002460| 65 20 61 6c 6c 20 6f 66 | 20 65 6d 61 63 73 0a 63 |e all of| emacs.c|
|00002470| 6f 6d 6d 61 6e 64 73 20 | 61 72 65 20 73 74 69 6c |ommands |are stil|
|00002480| 6c 20 61 76 61 69 6c 61 | 62 6c 65 2e 20 20 41 6c |l availa|ble. Al|
|00002490| 6c 20 63 6f 6d 6d 61 6e | 64 73 20 74 68 61 74 20 |l comman|ds that |
|000024a0| 61 72 65 20 69 6e 20 65 | 6d 61 63 73 20 67 6c 6f |are in e|macs glo|
|000024b0| 62 61 6c 0a 6d 61 70 20 | 61 72 65 20 62 6f 75 6e |bal.map |are boun|
|000024c0| 64 20 74 6f 20 5e 41 2e | 20 20 41 6c 6c 20 63 6f |d to ^A.| All co|
|000024d0| 6d 6d 61 6e 64 73 20 74 | 68 61 74 20 77 65 72 65 |mmands t|hat were|
|000024e0| 20 62 6f 75 6e 64 20 74 | 6f 20 65 73 63 61 70 65 | bound t|o escape|
|000024f0| 20 69 6e 20 65 6d 61 63 | 73 0a 6d 6f 64 65 20 61 | in emac|s.mode a|
|00002500| 72 65 20 6e 6f 77 20 62 | 6f 75 6e 64 20 74 6f 20 |re now b|ound to |
|00002510| 5e 5f 2e 20 20 54 68 65 | 20 5e 58 2c 20 61 6e 64 |^_. The| ^X, and|
|00002520| 20 5e 43 20 63 6f 6d 6d | 61 6e 64 73 20 72 65 6d | ^C comm|ands rem|
|00002530| 61 69 6e 20 74 68 65 20 | 73 61 6d 65 0a 73 69 6e |ain the |same.sin|
|00002540| 63 65 20 74 68 65 73 65 | 20 6b 65 79 73 20 61 72 |ce these| keys ar|
|00002550| 65 20 6e 6f 74 20 75 73 | 65 64 20 66 6f 72 20 76 |e not us|ed for v|
|00002560| 69 20 65 64 69 74 69 6e | 67 2e 0a 0a 57 68 69 6c |i editin|g...Whil|
|00002570| 65 20 69 6e 20 69 6e 73 | 65 72 74 20 6d 6f 64 65 |e in ins|ert mode|
|00002580| 2c 20 61 6c 6c 20 63 6f | 6d 6d 61 6e 64 73 20 74 |, all co|mmands t|
|00002590| 68 61 74 20 77 65 72 65 | 20 62 6f 75 6e 64 20 74 |hat were| bound t|
|000025a0| 6f 20 65 73 63 61 70 65 | 20 69 6e 20 65 6d 61 63 |o escape| in emac|
|000025b0| 73 0a 6d 6f 64 65 20 61 | 72 65 20 6e 6f 77 20 62 |s.mode a|re now b|
|000025c0| 6f 75 6e 64 20 74 6f 20 | 5e 5f 2e 20 20 54 68 65 |ound to |^_. The|
|000025d0| 20 5e 58 2c 20 61 6e 64 | 20 5e 43 20 63 6f 6d 6d | ^X, and| ^C comm|
|000025e0| 61 6e 64 73 20 72 65 6d | 61 69 6e 20 74 68 65 20 |ands rem|ain the |
|000025f0| 73 61 6d 65 0a 73 69 6e | 63 65 20 74 68 65 73 65 |same.sin|ce these|
|00002600| 20 6b 65 79 73 20 61 72 | 65 20 6e 6f 74 20 75 73 | keys ar|e not us|
|00002610| 65 64 20 66 6f 72 20 76 | 69 20 65 64 69 74 69 6e |ed for v|i editin|
|00002620| 67 2e 0a 0a 33 2e 20 46 | 6f 6c 64 20 4d 6f 64 65 |g...3. F|old Mode|
|00002630| 0a 0a 4d 76 69 20 68 61 | 73 20 61 20 63 72 75 64 |..Mvi ha|s a crud|
|00002640| 65 20 66 6f 72 6d 20 6f | 66 20 66 6f 6c 64 69 6e |e form o|f foldin|
|00002650| 67 2e 20 20 49 74 20 75 | 73 65 73 20 74 68 65 20 |g. It u|ses the |
|00002660| 63 6f 6e 74 72 6f 6c 20 | 63 68 61 72 61 63 74 65 |control |characte|
|00002670| 72 73 20 5e 4d 20 74 6f | 0a 5e 5a 20 65 6d 62 65 |rs ^M to|.^Z embe|
|00002680| 64 64 65 64 20 69 6e 20 | 74 68 65 20 74 65 78 74 |dded in |the text|
|00002690| 20 74 6f 20 69 6e 64 69 | 63 61 74 65 20 66 6f 6c | to indi|cate fol|
|000026a0| 64 20 64 65 70 74 68 2e | 20 20 54 6f 20 75 73 65 |d depth.| To use|
|000026b0| 20 66 6f 6c 64 69 6e 67 | 2c 20 6f 6e 65 0a 6d 75 | folding|, one.mu|
|000026c0| 73 74 20 66 69 72 73 74 | 20 75 73 65 20 74 68 65 |st first| use the|
|000026d0| 20 66 6f 6c 64 2d 6d 6f | 64 65 20 63 6f 6d 6d 61 | fold-mo|de comma|
|000026e0| 6e 64 2e 20 20 57 68 65 | 6e 20 65 78 65 63 75 74 |nd. Whe|n execut|
|000026f0| 65 64 2c 20 66 6f 6c 64 | 69 6e 67 20 69 73 0a 74 |ed, fold|ing is.t|
|00002700| 75 72 6e 65 64 20 6f 6e | 20 69 6e 20 74 68 65 20 |urned on| in the |
|00002710| 67 69 76 65 6e 20 62 75 | 66 66 65 72 2c 20 77 69 |given bu|ffer, wi|
|00002720| 74 68 20 6e 75 6d 65 72 | 69 63 20 61 72 67 75 6d |th numer|ic argum|
|00002730| 65 6e 74 2c 20 66 6f 6c | 64 69 6e 67 20 69 73 0a |ent, fol|ding is.|
|00002740| 74 75 72 6e 65 64 20 6f | 66 66 2e 20 20 49 66 20 |turned o|ff. If |
|00002750| 66 6f 6c 64 69 6e 67 20 | 69 73 20 65 6e 61 62 6c |folding |is enabl|
|00002760| 65 64 2c 20 63 68 61 72 | 61 63 74 65 72 73 20 69 |ed, char|acters i|
|00002770| 6e 20 74 68 65 20 5e 4d | 20 74 6f 20 5e 5a 20 72 |n the ^M| to ^Z r|
|00002780| 61 6e 67 65 0a 77 69 6c | 6c 20 61 75 74 6f 6d 61 |ange.wil|l automa|
|00002790| 74 69 63 61 6c 6c 79 20 | 62 65 20 77 72 69 74 74 |tically |be writt|
|000027a0| 65 6e 20 6f 75 74 20 61 | 73 20 5e 4a 20 63 68 61 |en out a|s ^J cha|
|000027b0| 72 61 63 74 65 72 73 20 | 77 68 65 6e 20 74 68 65 |racters |when the|
|000027c0| 20 66 69 6c 65 20 69 73 | 0a 77 72 69 74 74 65 6e | file is|.written|
|000027d0| 2e 20 20 54 6f 20 73 61 | 76 65 20 74 68 65 20 66 |. To sa|ve the f|
|000027e0| 6f 6c 64 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |old info|rmation |
|000027f0| 62 65 74 77 65 65 6e 20 | 65 64 69 74 20 73 65 73 |between |edit ses|
|00002800| 73 69 6f 6e 73 2c 20 6f | 6e 65 20 63 61 6e 0a 74 |sions, o|ne can.t|
|00002810| 75 72 6e 20 6f 66 66 20 | 66 6f 6c 64 20 6d 6f 64 |urn off |fold mod|
|00002820| 65 20 62 65 66 6f 72 65 | 20 74 68 65 20 66 69 6c |e before| the fil|
|00002830| 65 20 69 73 20 77 72 69 | 74 74 65 6e 2e 20 20 54 |e is wri|tten. T|
|00002840| 68 69 73 20 77 69 6c 6c | 20 70 72 65 73 65 72 76 |his will| preserv|
|00002850| 65 20 74 68 65 0a 66 6f | 6c 64 20 69 6e 66 6f 72 |e the.fo|ld infor|
|00002860| 6d 61 74 69 6f 6e 2e 20 | 20 48 6f 77 65 76 65 72 |mation. | However|
|00002870| 2c 20 69 74 20 77 69 6c | 6c 20 6d 65 73 73 20 75 |, it wil|l mess u|
|00002880| 70 20 61 62 6f 75 74 20 | 61 6e 79 20 6f 74 68 65 |p about |any othe|
|00002890| 72 20 63 6f 6d 6d 61 6e | 64 0a 74 68 61 74 20 6d |r comman|d.that m|
|000028a0| 69 67 68 74 20 77 61 6e | 74 20 74 6f 20 75 73 65 |ight wan|t to use|
|000028b0| 20 74 68 65 20 66 69 6c | 65 2e 20 20 4f 6e 20 72 | the fil|e. On r|
|000028c0| 65 2d 65 6e 74 72 79 2c | 20 79 6f 75 20 77 69 6c |e-entry,| you wil|
|000028d0| 6c 20 62 65 20 77 61 72 | 6e 65 64 20 74 68 61 74 |l be war|ned that|
|000028e0| 0a 74 68 65 20 66 69 6c | 65 20 63 6f 6e 74 61 69 |.the fil|e contai|
|000028f0| 6e 73 20 63 68 61 72 61 | 63 74 65 72 73 20 69 6e |ns chara|cters in|
|00002900| 20 74 68 65 20 72 61 6e | 67 65 20 5e 4d 20 74 6f | the ran|ge ^M to|
|00002910| 20 5e 5a 2e 20 20 48 6f | 70 65 66 75 6c 6c 79 2c | ^Z. Ho|pefully,|
|00002920| 20 74 68 65 79 0a 77 65 | 72 65 20 70 75 74 20 74 | they.we|re put t|
|00002930| 68 65 72 65 20 66 72 6f | 6d 20 70 72 65 76 69 6f |here fro|m previo|
|00002940| 75 73 20 66 6f 6c 64 69 | 6e 67 20 6f 70 65 72 61 |us foldi|ng opera|
|00002950| 74 69 6f 6e 73 2e 20 20 | 4f 74 68 65 72 77 69 73 |tions. |Otherwis|
|00002960| 65 2c 20 74 68 65 79 20 | 77 69 6c 6c 0a 63 61 75 |e, they |will.cau|
|00002970| 73 65 20 70 72 6f 62 6c | 65 6d 73 20 77 68 65 6e |se probl|ems when|
|00002980| 20 74 68 65 20 66 69 6c | 65 20 69 73 20 77 72 69 | the fil|e is wri|
|00002990| 74 74 65 6e 20 6f 75 74 | 2e 0a 0a 34 2e 20 45 64 |tten out|...4. Ed|
|000029a0| 69 74 69 6e 67 20 69 6e | 20 4d 76 69 0a 0a 4d 76 |iting in| Mvi..Mv|
|000029b0| 69 2c 20 6c 69 6b 65 20 | 72 65 61 6c 20 76 69 20 |i, like |real vi |
|000029c0| 73 75 70 70 6f 72 74 73 | 20 74 77 6f 20 62 61 73 |supports| two bas|
|000029d0| 69 63 20 6b 69 6e 64 73 | 20 6f 66 20 61 63 74 69 |ic kinds| of acti|
|000029e0| 6f 6e 73 2e 20 20 54 68 | 6f 73 65 20 74 68 61 74 |ons. Th|ose that|
|000029f0| 20 61 72 65 0a 6d 6f 74 | 69 6f 6e 73 20 74 68 61 | are.mot|ions tha|
|00002a00| 74 20 61 63 63 65 70 74 | 20 6f 70 74 69 6f 6e 61 |t accept| optiona|
|00002a10| 6c 20 63 6f 6d 6d 61 6e | 64 73 20 28 6c 69 6b 65 |l comman|ds (like|
|00002a20| 20 63 20 66 6f 72 20 63 | 68 61 6e 67 65 2c 20 64 | c for c|hange, d|
|00002a30| 20 66 6f 72 0a 64 65 6c | 65 74 65 29 2c 20 61 6e | for.del|ete), an|
|00002a40| 64 20 61 6c 6c 20 74 68 | 65 20 72 65 73 74 2e 20 |d all th|e rest. |
|00002a50| 20 4d 76 69 20 74 72 69 | 65 73 20 74 6f 20 6d 61 | Mvi tri|es to ma|
|00002a60| 6b 65 20 6c 6f 67 69 63 | 61 6c 20 75 73 65 20 6f |ke logic|al use o|
|00002a70| 66 20 61 6c 6c 0a 6d 6f | 74 69 6f 6e 20 6d 6f 64 |f all.mo|tion mod|
|00002a80| 69 66 69 65 72 73 2e 20 | 20 49 66 20 61 20 6d 6f |ifiers. | If a mo|
|00002a90| 74 69 6f 6e 20 6d 6f 64 | 69 66 69 65 72 20 6d 61 |tion mod|ifier ma|
|00002aa0| 6b 65 73 20 6e 6f 20 73 | 65 6e 73 65 20 69 74 20 |kes no s|ense it |
|00002ab0| 69 73 20 67 65 6e 65 72 | 61 6c 6c 79 0a 69 67 6e |is gener|ally.ign|
|00002ac0| 6f 72 65 64 2e 20 20 49 | 66 20 61 6e 20 61 63 74 |ored. I|f an act|
|00002ad0| 69 6f 6e 20 64 6f 65 73 | 20 6e 6f 74 20 61 6c 6c |ion does| not all|
|00002ae0| 6f 77 20 61 20 6d 6f 64 | 69 66 69 65 72 2c 20 69 |ow a mod|ifier, i|
|00002af0| 74 20 69 73 20 67 65 6e | 65 72 61 6c 6c 79 0a 66 |t is gen|erally.f|
|00002b00| 6c 61 67 67 65 64 20 61 | 73 20 61 6e 20 65 72 72 |lagged a|s an err|
|00002b10| 6f 72 2e 20 20 41 6c 6c | 20 6d 6f 74 69 6f 6e 73 |or. All| motions|
|00002b20| 20 74 68 61 74 20 61 63 | 63 65 70 74 20 63 6f 6d | that ac|cept com|
|00002b30| 6d 61 6e 64 73 20 68 61 | 76 65 20 74 68 65 0a 66 |mands ha|ve the.f|
|00002b40| 6f 6c 6c 6f 77 69 6e 67 | 20 66 6f 72 6d 61 74 3a |ollowing| format:|
|00002b50| 0a 0a 22 5b 61 2d 7a 41 | 2d 5a 5d 20 67 20 6e 75 |.."[a-zA|-Z] g nu|
|00002b60| 6d 62 65 72 20 63 6f 6d | 6d 61 6e 64 20 6d 6f 74 |mber com|mand mot|
|00002b70| 69 6f 6e 0a 0a 54 68 65 | 20 22 20 6d 6f 64 69 66 |ion..The| " modif|
|00002b80| 69 65 72 20 69 73 20 61 | 20 72 65 67 69 73 74 65 |ier is a| registe|
|00002b90| 72 20 77 68 65 72 65 20 | 74 68 65 20 74 65 78 74 |r where |the text|
|00002ba0| 20 62 65 74 77 65 65 6e | 20 74 68 65 20 62 65 67 | between| the beg|
|00002bb0| 69 6e 6e 69 6e 67 20 61 | 6e 64 0a 65 6e 64 69 6e |inning a|nd.endin|
|00002bc0| 67 20 70 6f 69 6e 74 20 | 69 73 20 73 74 6f 72 65 |g point |is store|
|00002bd0| 64 2e 20 20 49 66 20 74 | 68 65 20 6c 65 74 74 65 |d. If t|he lette|
|00002be0| 72 20 69 73 20 63 61 70 | 69 74 61 6c 20 5b 41 2d |r is cap|ital [A-|
|00002bf0| 5a 5d 2c 20 61 6e 79 0a | 70 72 65 2d 65 78 69 73 |Z], any.|pre-exis|
|00002c00| 74 69 6e 67 20 74 65 78 | 74 20 69 6e 20 74 68 65 |ting tex|t in the|
|00002c10| 20 72 65 67 69 73 74 65 | 72 20 69 73 20 61 70 70 | registe|r is app|
|00002c20| 65 6e 64 65 64 20 74 6f | 2c 20 6f 74 68 65 72 77 |ended to|, otherw|
|00002c30| 69 73 65 20 69 74 20 69 | 73 0a 6f 76 65 72 77 72 |ise it i|s.overwr|
|00002c40| 69 74 74 65 6e 2e 20 20 | 49 6e 20 74 68 65 20 63 |itten. |In the c|
|00002c50| 61 73 65 20 6f 66 20 61 | 20 70 75 74 20 63 6f 6d |ase of a| put com|
|00002c60| 6d 61 6e 64 2c 20 74 68 | 69 73 20 63 61 6e 20 69 |mand, th|is can i|
|00002c70| 6e 64 69 63 61 74 65 20 | 74 68 65 0a 73 6f 75 72 |ndicate |the.sour|
|00002c80| 63 65 20 6f 66 20 74 68 | 65 20 74 65 78 74 2e 0a |ce of th|e text..|
|00002c90| 0a 54 68 65 20 67 20 6d | 6f 64 69 66 69 65 72 20 |.The g m|odifier |
|00002ca0| 6d 65 61 6e 73 20 74 6f | 20 74 61 6b 65 20 74 68 |means to| take th|
|00002cb0| 65 20 70 6f 69 6e 74 20 | 62 61 63 6b 20 74 6f 20 |e point |back to |
|00002cc0| 74 68 65 20 70 6c 61 63 | 65 20 77 68 65 72 65 20 |the plac|e where |
|00002cd0| 74 68 65 0a 63 6f 6d 6d | 61 6e 64 20 73 74 61 72 |the.comm|and star|
|00002ce0| 74 65 64 20 61 66 74 65 | 72 20 69 74 20 69 73 20 |ted afte|r it is |
|00002cf0| 64 6f 6e 65 2e 0a 0a 54 | 68 65 20 6e 75 6d 62 65 |done...T|he numbe|
|00002d00| 72 20 69 73 20 75 73 65 | 64 20 66 6f 72 20 73 75 |r is use|d for su|
|00002d10| 63 68 20 74 68 69 6e 67 | 73 20 61 73 20 35 47 20 |ch thing|s as 5G |
|00002d20| 77 6f 75 6c 64 20 74 61 | 6b 65 20 79 6f 75 20 74 |would ta|ke you t|
|00002d30| 6f 20 6c 69 6e 65 20 35 | 2e 0a 4e 75 6d 65 72 69 |o line 5|..Numeri|
|00002d40| 63 20 61 72 67 75 6d 65 | 6e 74 73 20 63 61 6e 20 |c argume|nts can |
|00002d50| 61 6c 73 6f 20 62 65 20 | 6e 65 67 61 74 69 76 65 |also be |negative|
|00002d60| 20 62 79 20 70 72 65 63 | 65 64 69 6e 67 20 74 68 | by prec|eding th|
|00002d70| 65 6d 20 77 69 74 68 20 | 61 20 6d 69 6e 75 73 0a |em with |a minus.|
|00002d80| 73 69 67 6e 2c 20 74 68 | 65 20 73 70 65 63 69 61 |sign, th|e specia|
|00002d90| 6c 20 63 61 73 65 20 6f | 66 20 61 20 6d 69 6e 75 |l case o|f a minu|
|00002da0| 73 20 62 79 20 69 74 73 | 65 6c 66 20 72 65 73 75 |s by its|elf resu|
|00002db0| 6c 74 73 20 69 6e 20 61 | 20 6e 75 6d 65 72 69 63 |lts in a| numeric|
|00002dc0| 0a 61 72 67 75 6d 65 6e | 74 20 6f 66 20 2d 31 2e |.argumen|t of -1.|
|00002dd0| 20 20 53 6f 6d 65 20 6d | 6f 74 69 6f 6e 73 20 64 | Some m|otions d|
|00002de0| 6f 20 6e 6f 74 20 6e 65 | 65 64 20 61 20 6e 75 6d |o not ne|ed a num|
|00002df0| 65 72 69 63 20 61 72 67 | 75 6d 65 6e 74 2e 20 20 |eric arg|ument. |
|00002e00| 49 66 20 6f 6e 65 0a 69 | 73 20 65 6e 74 65 72 65 |If one.i|s entere|
|00002e10| 64 20 66 6f 72 20 69 74 | 2c 20 69 74 20 6d 61 79 |d for it|, it may|
|00002e20| 20 62 65 20 69 67 6e 6f | 72 65 64 20 6f 72 20 75 | be igno|red or u|
|00002e30| 73 65 64 20 66 6f 72 20 | 73 6f 6d 65 20 6f 74 68 |sed for |some oth|
|00002e40| 65 72 20 70 75 72 70 6f | 73 65 2e 0a 0a 54 68 65 |er purpo|se...The|
|00002e50| 20 63 6f 6d 6d 61 6e 64 | 20 70 61 72 74 20 61 6c | command| part al|
|00002e60| 6c 6f 77 73 20 79 6f 75 | 20 74 6f 20 64 6f 20 73 |lows you| to do s|
|00002e70| 6f 6d 65 74 68 69 6e 67 | 20 74 6f 20 6f 72 20 77 |omething| to or w|
|00002e80| 69 74 68 20 74 68 65 20 | 74 65 78 74 0a 62 65 74 |ith the |text.bet|
|00002e90| 77 65 65 6e 20 74 68 65 | 20 73 74 61 72 74 69 6e |ween the| startin|
|00002ea0| 67 20 61 6e 64 20 65 6e | 64 69 6e 67 20 70 6f 69 |g and en|ding poi|
|00002eb0| 6e 74 2e 20 20 54 68 65 | 73 65 20 77 6f 75 6c 64 |nt. The|se would|
|00002ec0| 20 69 6e 63 6c 75 64 65 | 20 74 68 65 0a 73 74 61 | include| the.sta|
|00002ed0| 6e 64 61 72 64 20 63 20 | 66 6f 72 20 63 68 61 6e |ndard c |for chan|
|00002ee0| 67 65 2c 20 79 20 66 6f | 72 20 79 61 6e 6b 2c 20 |ge, y fo|r yank, |
|00002ef0| 65 74 63 2e 0a 0a 54 68 | 65 20 6f 72 64 65 72 20 |etc...Th|e order |
|00002f00| 73 68 6f 77 6e 20 61 62 | 6f 76 65 20 66 6f 72 20 |shown ab|ove for |
|00002f10| 74 68 65 20 6d 6f 74 69 | 6f 6e 20 6d 6f 64 69 66 |the moti|on modif|
|00002f20| 69 65 72 73 20 69 73 20 | 61 72 62 69 74 72 61 72 |iers is |arbitrar|
|00002f30| 79 20 61 6e 64 20 74 68 | 65 79 0a 6d 61 79 20 62 |y and th|ey.may b|
|00002f40| 65 20 65 6e 74 65 72 65 | 64 20 69 6e 20 61 6e 79 |e entere|d in any|
|00002f50| 20 6f 72 64 65 72 20 64 | 65 73 69 72 65 64 2e 20 | order d|esired. |
|00002f60| 20 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 6b | The fol|lowing k|
|00002f70| 65 79 20 73 65 71 75 65 | 6e 63 65 73 20 77 69 6c |ey seque|nces wil|
|00002f80| 6c 0a 61 6c 6c 20 61 63 | 63 6f 6d 70 6c 69 73 68 |l.all ac|complish|
|00002f90| 20 74 68 65 20 73 61 6d | 65 20 74 68 69 6e 67 3a | the sam|e thing:|
|00002fa0| 0a 0a 09 22 61 35 64 77 | 0a 09 35 22 61 64 77 0a |..."a5dw|..5"adw.|
|00002fb0| 09 22 61 64 35 77 0a 0a | 54 68 65 20 6d 6f 74 69 |."ad5w..|The moti|
|00002fc0| 6f 6e 20 70 61 72 74 20 | 69 73 20 74 68 65 20 61 |on part |is the a|
|00002fd0| 63 74 75 61 6c 20 6d 6f | 76 65 6d 65 6e 74 20 73 |ctual mo|vement s|
|00002fe0| 75 63 68 20 61 73 20 27 | 61 2c 20 6a 2c 20 65 74 |uch as '|a, j, et|
|00002ff0| 63 2e 20 20 49 66 20 74 | 68 65 72 65 0a 69 73 20 |c. If t|here.is |
|00003000| 6e 6f 20 63 6f 6d 6d 61 | 6e 64 2c 20 74 68 65 20 |no comma|nd, the |
|00003010| 6d 6f 74 69 6f 6e 20 77 | 69 6c 6c 20 6d 65 61 72 |motion w|ill mear|
|00003020| 6c 79 20 6d 6f 76 65 20 | 74 68 65 20 70 6f 69 6e |ly move |the poin|
|00003030| 74 2e 0a 0a 53 69 6e 63 | 65 20 6d 76 69 20 68 61 |t...Sinc|e mvi ha|
|00003040| 73 20 6d 61 6e 79 20 6d | 6f 72 65 20 63 6f 6d 6d |s many m|ore comm|
|00003050| 61 6e 64 73 2f 6d 6f 74 | 69 6f 6e 73 20 74 68 61 |ands/mot|ions tha|
|00003060| 6e 20 73 74 61 6e 64 61 | 72 64 20 76 69 2c 20 49 |n standa|rd vi, I|
|00003070| 20 68 61 64 20 74 6f 0a | 66 69 6e 64 20 73 6f 6d | had to.|find som|
|00003080| 65 20 70 6c 61 63 65 20 | 74 6f 20 62 69 6e 64 20 |e place |to bind |
|00003090| 74 68 65 6d 2e 20 20 49 | 6e 20 6d 76 69 20 71 20 |them. I|n mvi q |
|000030a0| 69 73 20 61 20 70 72 65 | 66 69 78 20 66 6f 72 20 |is a pre|fix for |
|000030b0| 6d 61 6e 79 20 6f 66 20 | 74 68 65 0a 63 6f 6d 6d |many of |the.comm|
|000030c0| 61 6e 64 73 2f 6d 6f 74 | 69 6f 6e 73 20 74 68 61 |ands/mot|ions tha|
|000030d0| 74 20 63 6f 75 6c 64 20 | 6e 6f 74 20 62 65 20 66 |t could |not be f|
|000030e0| 69 74 20 6f 6e 20 74 68 | 65 20 73 74 61 6e 64 61 |it on th|e standa|
|000030f0| 72 64 20 6b 65 79 73 2e | 20 20 54 68 65 79 20 61 |rd keys.| They a|
|00003100| 72 65 0a 75 73 65 64 20 | 6a 75 73 74 20 6c 69 6b |re.used |just lik|
|00003110| 65 20 74 68 65 20 6f 72 | 64 69 6e 61 72 79 20 6f |e the or|dinary o|
|00003120| 6e 65 73 2c 20 74 68 65 | 79 20 6a 75 73 74 20 72 |nes, the|y just r|
|00003130| 65 71 75 69 72 65 20 6d | 6f 72 65 20 6b 65 79 20 |equire m|ore key |
|00003140| 73 74 72 6f 6b 65 73 2e | 0a 55 70 70 65 72 20 63 |strokes.|.Upper c|
|00003150| 61 73 65 20 72 65 67 69 | 6f 6e 20 69 73 20 62 6f |ase regi|on is bo|
|00003160| 75 6e 64 20 74 6f 20 71 | 55 2e 20 20 53 6f 20 74 |und to q|U. So t|
|00003170| 6f 20 75 70 70 65 72 63 | 61 73 65 20 33 20 77 6f |o upperc|ase 3 wo|
|00003180| 72 64 73 20 79 6f 75 20 | 77 6f 75 6c 64 0a 74 79 |rds you |would.ty|
|00003190| 70 65 20 33 71 55 2e 0a | 0a 4f 6e 65 20 68 79 62 |pe 3qU..|.One hyb|
|000031a0| 72 69 64 20 66 6f 72 6d | 20 6f 66 20 63 6f 6d 6d |rid form| of comm|
|000031b0| 61 6e 64 2f 6d 6f 74 69 | 6f 6e 20 69 73 20 74 68 |and/moti|on is th|
|000031c0| 65 20 64 64 2c 20 63 63 | 20 61 6e 64 20 6c 69 6b |e dd, cc| and lik|
|000031d0| 65 77 69 73 65 20 63 6f | 6d 6d 61 6e 64 73 2e 0a |ewise co|mmands..|
|000031e0| 54 68 65 73 65 20 77 6f | 72 6b 20 69 6e 20 6d 76 |These wo|rk in mv|
|000031f0| 69 20 61 73 20 65 78 70 | 65 63 74 65 64 2e 20 20 |i as exp|ected. |
|00003200| 48 6f 77 65 76 65 72 2c | 20 63 6f 6d 6d 61 6e 64 |However,| command|
|00003210| 73 20 65 6e 74 65 72 65 | 64 20 66 72 6f 6d 20 75 |s entere|d from u|
|00003220| 73 69 6e 67 0a 74 68 65 | 20 71 20 70 72 65 66 69 |sing.the| q prefi|
|00003230| 78 20 77 6f 75 6c 64 20 | 62 65 20 65 6e 74 65 72 |x would |be enter|
|00003240| 65 64 20 6c 69 6b 65 3a | 0a 09 0a 09 33 71 55 71 |ed like:|....3qUq|
|00003250| 55 20 77 6f 75 6c 64 20 | 75 70 70 65 72 63 61 73 |U would |uppercas|
|00003260| 65 20 74 68 72 65 65 20 | 6c 69 6e 65 73 2e 0a 0a |e three |lines...|
|00003270| 35 2e 20 43 6f 6d 6d 61 | 6e 64 73 0a 0a 42 65 6c |5. Comma|nds..Bel|
|00003280| 6f 77 20 69 73 20 61 20 | 6c 69 73 74 20 6f 66 20 |ow is a |list of |
|00003290| 63 6f 6d 6d 61 6e 64 73 | 2e 20 20 49 6e 20 67 65 |commands|. In ge|
|000032a0| 6e 65 72 61 6c 2c 20 61 | 6e 79 20 63 6f 6d 6d 61 |neral, a|ny comma|
|000032b0| 6e 64 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 77 |nd can b|e used w|
|000032c0| 69 74 68 0a 61 6e 79 20 | 6d 6f 74 69 6f 6e 2e 20 |ith.any |motion. |
|000032d0| 20 41 20 6c 65 74 74 65 | 72 20 70 72 65 63 65 64 | A lette|r preced|
|000032e0| 65 64 20 62 79 20 5e 20 | 6d 65 61 6e 73 20 69 74 |ed by ^ |means it|
|000032f0| 20 69 73 20 61 20 63 6f | 6e 74 72 6f 6c 20 63 68 | is a co|ntrol ch|
|00003300| 61 72 61 63 74 65 72 3a | 0a 0a 63 20 20 20 2d 20 |aracter:|..c - |
|00003310| 43 68 61 6e 67 65 2e 20 | 44 65 6c 65 74 65 20 74 |Change. |Delete t|
|00003320| 65 78 74 20 61 6e 64 20 | 69 6e 73 65 72 74 20 6e |ext and |insert n|
|00003330| 65 77 2e 0a 64 20 20 20 | 2d 20 44 65 6c 65 74 65 |ew..d |- Delete|
|00003340| 2e 0a 4b 20 20 20 2d 20 | 4c 69 6b 65 20 64 2c 20 |..K - |Like d, |
|00003350| 65 78 63 65 70 74 20 73 | 75 63 63 65 73 73 69 76 |except s|uccessiv|
|00003360| 65 20 4b 20 63 6f 6d 6d | 61 6e 64 73 20 77 69 74 |e K comm|ands wit|
|00003370| 68 6f 75 74 20 61 6e 20 | 69 6e 74 65 72 76 65 6e |hout an |interven|
|00003380| 69 6e 67 20 6d 6f 74 69 | 6f 6e 0a 20 20 20 20 20 |ing moti|on. |
|00003390| 20 63 6f 6e 63 61 74 65 | 6e 61 74 65 73 20 74 68 | concate|nates th|
|000033a0| 65 20 74 65 78 74 20 74 | 6f 67 65 74 68 65 72 20 |e text t|ogether |
|000033b0| 69 6e 74 6f 20 6f 6e 65 | 20 63 68 75 6e 6b 20 6f |into one| chunk o|
|000033c0| 6e 20 74 68 65 20 6b 69 | 6c 6c 20 73 74 61 63 6b |n the ki|ll stack|
|000033d0| 2e 0a 79 20 20 20 2d 20 | 59 61 6e 6b 2e 0a 5e 4b |..y - |Yank..^K|
|000033e0| 20 20 2d 20 4c 69 6b 65 | 20 79 2c 20 65 78 63 65 | - Like| y, exce|
|000033f0| 70 74 20 73 75 63 63 65 | 73 73 69 76 65 20 5e 4b |pt succe|ssive ^K|
|00003400| 20 63 6f 6d 6d 61 6e 64 | 73 20 77 69 74 68 6f 75 | command|s withou|
|00003410| 74 20 61 6e 20 69 6e 74 | 65 72 76 65 6e 69 6e 67 |t an int|ervening|
|00003420| 20 6d 6f 74 69 6f 6e 0a | 20 20 20 20 20 20 63 6f | motion.| co|
|00003430| 6e 63 61 74 65 6e 61 74 | 65 73 20 74 68 65 20 74 |ncatenat|es the t|
|00003440| 65 78 74 20 74 6f 67 65 | 74 68 65 72 20 69 6e 74 |ext toge|ther int|
|00003450| 6f 20 6f 6e 65 20 63 68 | 75 6e 6b 20 6f 6e 20 74 |o one ch|unk on t|
|00003460| 68 65 20 6b 69 6c 6c 20 | 73 74 61 63 6b 2e 0a 3e |he kill |stack..>|
|00003470| 20 20 20 2d 20 48 61 72 | 64 20 74 61 62 20 69 6e | - Har|d tab in|
|00003480| 20 72 65 67 69 6f 6e 2e | 0a 3c 20 20 20 2d 20 48 | region.|.< - H|
|00003490| 61 72 64 20 74 61 62 20 | 6f 75 74 20 72 65 67 69 |ard tab |out regi|
|000034a0| 6f 6e 2e 0a 71 5e 49 20 | 2d 20 54 61 62 69 66 79 |on..q^I |- Tabify|
|000034b0| 20 72 65 67 69 6f 6e 20 | 61 63 63 6f 72 64 69 6e | region |accordin|
|000034c0| 67 20 74 6f 20 6d 6f 64 | 65 2e 0a 21 20 20 20 2d |g to mod|e..! -|
|000034d0| 20 53 65 6e 64 20 72 65 | 67 69 6f 6e 20 6f 66 20 | Send re|gion of |
|000034e0| 74 65 78 74 20 74 68 72 | 6f 75 67 68 20 73 68 65 |text thr|ough she|
|000034f0| 6c 6c 20 63 6f 6d 6d 61 | 6e 64 2c 20 72 65 70 6c |ll comma|nd, repl|
|00003500| 61 63 69 6e 67 20 69 74 | 20 69 6e 20 62 75 66 66 |acing it| in buff|
|00003510| 65 72 2e 0a 7c 20 20 20 | 2d 20 53 65 6e 64 20 72 |er..| |- Send r|
|00003520| 65 67 69 6f 6e 20 6f 66 | 20 74 65 78 74 20 74 68 |egion of| text th|
|00003530| 72 6f 75 67 68 20 73 68 | 65 6c 6c 20 63 6f 6d 6d |rough sh|ell comm|
|00003540| 61 6e 64 2c 20 64 6f 6e | 27 74 20 72 65 70 6c 61 |and, don|'t repla|
|00003550| 63 65 20 69 74 20 69 6e | 20 62 75 66 66 65 72 2e |ce it in| buffer.|
|00003560| 0a 71 55 20 20 2d 20 55 | 70 70 65 72 63 61 73 65 |.qU - U|ppercase|
|00003570| 20 72 65 67 69 6f 6e 2e | 0a 71 6c 20 20 2d 20 4c | region.|.ql - L|
|00003580| 6f 77 65 72 63 61 73 65 | 20 72 65 67 69 6f 6e 2e |owercase| region.|
|00003590| 0a 71 43 20 20 2d 20 43 | 61 70 69 74 61 6c 69 7a |.qC - C|apitaliz|
|000035a0| 65 20 72 65 67 69 6f 6e | 2e 0a 71 35 20 20 2d 20 |e region|..q5 - |
|000035b0| 43 65 6e 74 65 72 20 65 | 61 63 68 20 6c 69 6e 65 |Center e|ach line|
|000035c0| 20 69 6e 20 72 65 67 69 | 6f 6e 2e 0a 71 5f 20 20 | in regi|on..q_ |
|000035d0| 2d 20 55 6e 64 65 72 6c | 69 6e 65 20 72 65 67 69 |- Underl|ine regi|
|000035e0| 6f 6e 2e 0a 71 2b 20 20 | 2d 20 55 6e 2d 75 6e 64 |on..q+ |- Un-und|
|000035f0| 65 72 6c 69 6e 65 20 72 | 65 67 69 6f 6e 2e 0a 71 |erline r|egion..q|
|00003600| 46 20 20 2d 20 46 69 6c | 6c 20 72 65 67 69 6f 6e |F - Fil|l region|
|00003610| 2c 20 73 65 65 20 66 69 | 6c 6c 20 63 6f 6c 75 6d |, see fi|ll colum|
|00003620| 6e 20 69 6e 20 65 6d 61 | 63 73 20 6d 61 6e 75 61 |n in ema|cs manua|
|00003630| 6c 2e 0a 71 77 20 20 2d | 20 57 72 69 74 65 20 72 |l..qw -| Write r|
|00003640| 65 67 69 6f 6e 20 74 6f | 20 61 20 66 69 6c 65 2e |egion to| a file.|
|00003650| 0a 71 61 20 20 2d 20 41 | 70 70 65 6e 64 20 72 65 |.qa - A|ppend re|
|00003660| 67 69 6f 6e 2c 20 74 6f | 20 61 20 66 69 6c 65 2e |gion, to| a file.|
|00003670| 0a 71 6e 20 20 2d 20 4e | 61 72 72 6f 77 20 72 65 |.qn - N|arrow re|
|00003680| 67 69 6f 6e 2e 20 20 4d | 61 6b 65 20 74 65 78 74 |gion. M|ake text|
|00003690| 20 6f 75 74 73 69 64 65 | 20 74 68 65 20 72 65 67 | outside| the reg|
|000036a0| 69 6f 6e 20 69 6e 76 69 | 73 69 62 6c 65 2e 20 20 |ion invi|sible. |
|000036b0| 56 65 72 79 20 75 73 65 | 66 75 6c 20 66 6f 72 0a |Very use|ful for.|
|000036c0| 20 20 20 20 20 20 71 75 | 65 72 79 20 72 65 70 6c | qu|ery repl|
|000036d0| 61 63 65 20 74 79 70 65 | 20 63 6f 6d 6d 61 6e 64 |ace type| command|
|000036e0| 73 2e 0a 71 66 20 20 2d | 20 46 6f 6c 64 20 72 65 |s..qf -| Fold re|
|000036f0| 67 69 6f 6e 2e 20 20 4d | 61 6b 65 20 70 6f 72 74 |gion. M|ake port|
|00003700| 69 6f 6e 73 20 6f 66 20 | 74 68 65 20 62 75 66 66 |ions of |the buff|
|00003710| 65 72 20 69 6e 76 69 73 | 69 62 6c 65 2e 0a 71 75 |er invis|ible..qu|
|00003720| 20 20 2d 20 55 6e 66 6f | 6c 64 20 72 65 67 69 6f | - Unfo|ld regio|
|00003730| 6e 2e 0a 71 47 20 20 2d | 20 45 78 65 63 75 74 65 |n..qG -| Execute|
|00003740| 20 74 68 65 20 6c 61 73 | 74 20 6b 65 79 62 6f 61 | the las|t keyboa|
|00003750| 72 64 20 6d 61 63 72 6f | 20 6f 6e 20 65 61 63 68 |rd macro| on each|
|00003760| 20 6c 69 6e 65 20 69 6e | 20 74 68 65 20 72 65 67 | line in| the reg|
|00003770| 69 6f 6e 2e 0a 71 72 20 | 20 2d 20 4d 61 6b 65 20 |ion..qr | - Make |
|00003780| 72 65 67 69 6f 6e 20 62 | 65 20 74 68 65 20 6d 61 |region b|e the ma|
|00003790| 72 6b 20 61 6e 64 20 70 | 6f 69 6e 74 2e 0a 71 52 |rk and p|oint..qR|
|000037a0| 20 20 2d 20 4d 61 6b 65 | 20 72 65 67 69 6f 6e 20 | - Make| region |
|000037b0| 62 65 20 74 68 65 20 6d | 61 72 6b 20 61 6e 64 20 |be the m|ark and |
|000037c0| 70 6f 69 6e 74 2c 20 62 | 75 74 20 65 78 70 61 6e |point, b|ut expan|
|000037d0| 64 20 69 74 20 74 6f 20 | 66 75 6c 6c 20 6c 69 6e |d it to |full lin|
|000037e0| 65 73 2e 0a 0a 36 2e 20 | 4d 6f 74 69 6f 6e 73 0a |es...6. |Motions.|
|000037f0| 0a 4d 6f 73 74 20 6f 66 | 20 74 68 65 20 6d 6f 74 |.Most of| the mot|
|00003800| 69 6f 6e 73 20 61 72 65 | 20 65 73 73 65 6e 74 69 |ions are| essenti|
|00003810| 61 6c 6c 79 20 74 68 65 | 20 73 61 6d 65 20 61 73 |ally the| same as|
|00003820| 20 69 6e 20 76 69 2e 20 | 20 41 6e 79 20 6f 66 20 | in vi. | Any of |
|00003830| 74 68 65 73 65 20 6d 6f | 74 69 6f 6e 73 0a 63 61 |these mo|tions.ca|
|00003840| 6e 20 62 65 20 75 73 65 | 64 20 77 69 74 68 20 61 |n be use|d with a|
|00003850| 6e 79 20 6f 66 20 74 68 | 65 20 63 6f 6d 6d 61 6e |ny of th|e comman|
|00003860| 64 73 2e 0a 0a 68 20 20 | 20 2d 20 20 4d 6f 76 65 |ds...h | - Move|
|00003870| 20 63 75 72 73 6f 72 20 | 6c 65 66 74 2e 0a 6a 20 | cursor |left..j |
|00003880| 20 20 2d 20 20 4d 6f 76 | 65 20 63 75 72 73 6f 72 | - Mov|e cursor|
|00003890| 20 64 6f 77 6e 2e 0a 6b | 20 20 20 2d 20 20 4d 6f | down..k| - Mo|
|000038a0| 76 65 20 63 75 72 73 6f | 72 20 75 70 2e 0a 6c 20 |ve curso|r up..l |
|000038b0| 20 20 2d 20 20 4d 6f 76 | 65 20 63 75 72 73 6f 72 | - Mov|e cursor|
|000038c0| 20 72 69 67 68 74 2e 0a | 5e 3f 20 20 2d 20 20 53 | right..|^? - S|
|000038d0| 61 6d 65 20 61 73 20 68 | 2e 0a 5e 4a 20 20 2d 20 |ame as h|..^J - |
|000038e0| 20 53 61 6d 65 20 61 73 | 20 6a 2e 0a 73 70 20 20 | Same as| j..sp |
|000038f0| 2d 20 20 53 61 6d 65 20 | 61 73 20 6c 2e 0a 0a 77 |- Same |as l...w|
|00003900| 20 20 20 2d 20 20 46 6f | 72 77 61 72 64 20 77 6f | - Fo|rward wo|
|00003910| 72 64 2e 0a 62 20 20 20 | 2d 20 20 42 61 63 6b 77 |rd..b |- Backw|
|00003920| 61 72 64 20 77 6f 72 64 | 2e 0a 65 20 20 20 2d 20 |ard word|..e - |
|00003930| 20 45 6e 64 20 6f 66 20 | 77 6f 72 64 2e 0a 76 20 | End of |word..v |
|00003940| 20 20 2d 20 20 45 6e 64 | 20 6f 66 20 70 72 65 76 | - End| of prev|
|00003950| 69 6f 75 73 20 77 6f 72 | 64 2e 0a 57 20 20 20 2d |ious wor|d..W -|
|00003960| 20 20 4d 6f 76 65 20 66 | 6f 72 77 61 72 64 2c 20 | Move f|orward, |
|00003970| 73 74 6f 70 70 69 6e 67 | 20 61 66 74 65 72 20 77 |stopping| after w|
|00003980| 68 69 74 65 73 70 61 63 | 65 2e 0a 42 20 20 20 2d |hitespac|e..B -|
|00003990| 20 20 4d 6f 76 65 20 62 | 61 63 6b 77 61 72 64 2c | Move b|ackward,|
|000039a0| 20 73 74 6f 70 70 69 6e | 67 20 62 65 66 6f 72 65 | stoppin|g before|
|000039b0| 20 77 68 69 74 65 73 70 | 61 63 65 2e 0a 45 20 20 | whitesp|ace..E |
|000039c0| 20 2d 20 20 4d 6f 76 65 | 20 74 6f 20 65 6e 64 20 | - Move| to end |
|000039d0| 6f 66 20 77 6f 72 64 2c | 20 77 68 69 74 65 73 70 |of word,| whitesp|
|000039e0| 61 63 65 20 64 65 6c 69 | 6d 69 74 65 64 2e 0a 56 |ace deli|mited..V|
|000039f0| 20 20 20 2d 20 20 4d 6f | 76 65 20 74 6f 20 65 6e | - Mo|ve to en|
|00003a00| 64 20 6f 66 20 77 6f 72 | 64 2c 20 77 68 69 74 65 |d of wor|d, white|
|00003a10| 73 70 61 63 65 20 64 65 | 6c 69 6d 69 74 65 64 2c |space de|limited,|
|00003a20| 20 62 61 63 6b 77 61 72 | 64 73 2e 0a 0a 66 20 20 | backwar|ds...f |
|00003a30| 20 2d 20 20 4d 6f 76 65 | 20 74 6f 20 63 68 61 72 | - Move| to char|
|00003a40| 61 63 74 65 72 2e 0a 74 | 20 20 20 2d 20 20 4d 6f |acter..t| - Mo|
|00003a50| 76 65 20 74 6f 20 63 68 | 61 72 61 63 74 65 72 2c |ve to ch|aracter,|
|00003a60| 20 73 74 6f 70 70 69 6e | 67 20 62 65 66 6f 72 65 | stoppin|g before|
|00003a70| 20 69 74 2e 0a 46 20 20 | 20 2d 20 20 4d 6f 76 65 | it..F | - Move|
|00003a80| 20 74 6f 20 63 68 61 72 | 61 63 74 65 72 20 62 61 | to char|acter ba|
|00003a90| 63 6b 77 61 72 64 73 2e | 0a 54 20 20 20 2d 20 20 |ckwards.|.T - |
|00003aa0| 4d 6f 76 65 20 74 6f 20 | 63 68 61 72 61 63 74 65 |Move to |characte|
|00003ab0| 72 20 62 61 63 6b 77 61 | 72 64 73 2c 20 73 74 6f |r backwa|rds, sto|
|00003ac0| 70 70 69 6e 67 20 62 65 | 66 6f 72 65 20 69 74 2e |pping be|fore it.|
|00003ad0| 0a 3b 20 20 20 2d 20 20 | 52 65 70 65 61 74 20 6c |.; - |Repeat l|
|00003ae0| 61 73 74 20 66 2c 74 2c | 46 2c 20 6f 72 20 54 20 |ast f,t,|F, or T |
|00003af0| 63 6f 6d 6d 61 6e 64 2e | 0a 2c 20 20 20 2d 20 20 |command.|., - |
|00003b00| 52 65 70 65 61 74 20 6c | 61 73 74 20 66 2c 74 2c |Repeat l|ast f,t,|
|00003b10| 46 2c 20 6f 72 20 54 20 | 63 6f 6d 6d 61 6e 64 20 |F, or T |command |
|00003b20| 69 6e 20 74 68 65 20 6f | 70 70 6f 73 69 74 65 20 |in the o|pposite |
|00003b30| 64 69 72 65 63 74 69 6f | 6e 2e 0a 0a 5e 20 20 20 |directio|n...^ |
|00003b40| 2d 20 20 4d 6f 76 65 20 | 74 6f 20 62 65 67 69 6e |- Move |to begin|
|00003b50| 6e 69 6e 67 20 6f 66 20 | 6c 69 6e 65 2e 0a 30 20 |ning of |line..0 |
|00003b60| 20 20 2d 20 20 4d 6f 76 | 65 20 74 6f 20 74 68 65 | - Mov|e to the|
|00003b70| 20 66 69 72 73 74 20 6e | 6f 6e 2d 77 68 69 74 65 | first n|on-white|
|00003b80| 73 70 61 63 65 20 63 68 | 61 72 61 63 74 65 72 2e |space ch|aracter.|
|00003b90| 0a 23 20 20 20 2d 20 20 | 4d 6f 76 65 20 74 6f 20 |.# - |Move to |
|00003ba0| 63 6f 6c 75 6d 6e 20 67 | 69 76 65 6e 20 62 79 20 |column g|iven by |
|00003bb0| 6e 75 6d 65 72 69 63 20 | 61 72 67 75 6d 65 6e 74 |numeric |argument|
|00003bc0| 2e 20 20 43 6f 6c 75 6d | 6e 73 20 73 74 61 72 74 |. Colum|ns start|
|00003bd0| 20 77 69 74 68 20 30 2e | 0a 24 20 20 20 2d 20 20 | with 0.|.$ - |
|00003be0| 45 6e 64 20 6f 66 20 6c | 69 6e 65 2e 0a 0a 27 20 |End of l|ine...' |
|00003bf0| 20 20 2d 20 20 4d 6f 76 | 65 20 74 6f 20 6c 69 6e | - Mov|e to lin|
|00003c00| 65 20 73 61 76 65 64 20 | 69 6e 20 72 65 67 69 73 |e saved |in regis|
|00003c10| 74 65 72 2e 0a 60 20 20 | 20 2d 20 20 4d 6f 76 65 |ter..` | - Move|
|00003c20| 20 74 6f 20 70 6f 69 6e | 74 20 73 61 76 65 64 20 | to poin|t saved |
|00003c30| 69 6e 20 72 65 67 69 73 | 74 65 72 2e 0a 0a 48 20 |in regis|ter...H |
|00003c40| 20 20 2d 20 20 47 6f 74 | 6f 20 74 6f 70 20 6f 66 | - Got|o top of|
|00003c50| 20 77 69 6e 64 6f 77 2e | 0a 4c 20 20 20 2d 20 20 | window.|.L - |
|00003c60| 4d 6f 76 65 20 74 6f 20 | 62 6f 74 74 6f 6d 20 6f |Move to |bottom o|
|00003c70| 66 20 77 69 6e 64 6f 77 | 2e 0a 4d 20 20 20 2d 20 |f window|..M - |
|00003c80| 20 4d 6f 76 65 20 74 6f | 20 6d 69 64 64 6c 65 20 | Move to| middle |
|00003c90| 6f 66 20 77 69 6e 64 6f | 77 2e 0a 0a 29 20 20 20 |of windo|w...) |
|00003ca0| 2d 20 20 46 6f 72 77 61 | 72 64 20 73 65 6e 74 65 |- Forwa|rd sente|
|00003cb0| 6e 63 65 2e 20 20 54 68 | 69 73 20 69 73 20 63 6f |nce. Th|is is co|
|00003cc0| 6e 74 72 6f 6c 6c 65 64 | 20 62 79 20 74 68 65 20 |ntrolled| by the |
|00003cd0| 73 65 6e 74 65 6e 63 65 | 2d 65 6e 64 20 76 61 72 |sentence|-end var|
|00003ce0| 69 61 62 6c 65 2e 0a 28 | 20 20 20 2d 20 20 42 61 |iable..(| - Ba|
|00003cf0| 63 6b 77 61 72 64 20 73 | 65 6e 74 65 6e 63 65 2e |ckward s|entence.|
|00003d00| 0a 5d 20 20 20 2d 20 20 | 46 6f 72 77 61 72 64 20 |.] - |Forward |
|00003d10| 70 61 72 61 67 72 61 70 | 68 2e 20 20 54 68 69 73 |paragrap|h. This|
|00003d20| 20 69 73 20 63 6f 6e 74 | 72 6f 6c 6c 65 64 20 62 | is cont|rolled b|
|00003d30| 79 20 74 68 65 20 70 61 | 72 61 67 72 61 70 68 2d |y the pa|ragraph-|
|00003d40| 73 74 61 72 74 20 61 6e | 64 0a 20 20 20 20 20 20 |start an|d. |
|00003d50| 20 70 61 72 61 67 72 61 | 70 68 2d 73 65 70 61 72 | paragra|ph-separ|
|00003d60| 61 74 65 20 76 61 72 69 | 61 62 6c 65 2e 0a 5b 20 |ate vari|able..[ |
|00003d70| 20 20 2d 20 20 42 61 63 | 6b 77 61 72 64 20 70 61 | - Bac|kward pa|
|00003d80| 72 61 67 72 61 70 68 2e | 0a 7d 20 20 20 2d 20 20 |ragraph.|.} - |
|00003d90| 46 6f 72 77 61 72 64 20 | 70 61 67 65 2e 20 20 54 |Forward |page. T|
|00003da0| 68 69 73 20 69 73 20 63 | 6f 6e 74 72 6f 6c 6c 65 |his is c|ontrolle|
|00003db0| 64 20 62 79 20 74 68 65 | 20 70 61 67 65 2d 64 65 |d by the| page-de|
|00003dc0| 6c 69 6d 69 74 65 72 20 | 76 61 72 69 61 62 6c 65 |limiter |variable|
|00003dd0| 2e 0a 7b 20 20 20 2d 20 | 20 42 61 63 6b 77 61 72 |..{ - | Backwar|
|00003de0| 64 20 70 61 67 65 2e 0a | 0a 25 20 20 20 2d 20 20 |d page..|.% - |
|00003df0| 4d 6f 76 65 20 74 6f 20 | 6d 61 74 63 68 69 6e 67 |Move to |matching|
|00003e00| 20 70 61 72 65 6e 74 68 | 65 74 69 63 61 6c 20 63 | parenth|etical c|
|00003e10| 68 61 72 61 63 74 65 72 | 20 69 6e 20 74 68 65 20 |haracter| in the |
|00003e20| 73 65 74 20 22 7b 5b 28 | 30 5d 7d 22 2e 0a 2b 20 |set "{[(|0]}"..+ |
|00003e30| 20 20 2d 20 20 46 6f 72 | 77 61 72 64 20 6c 69 73 | - For|ward lis|
|00003e40| 74 2c 20 6c 69 6b 65 20 | 25 20 62 75 74 20 6d 6f |t, like |% but mo|
|00003e50| 72 65 20 70 6f 77 65 72 | 66 75 6c 2e 0a 5f 20 20 |re power|ful.._ |
|00003e60| 20 2d 20 20 42 61 63 6b | 77 61 72 64 20 6c 69 73 | - Back|ward lis|
|00003e70| 74 2e 0a 71 29 20 20 2d | 20 20 46 6f 72 77 61 72 |t..q) -| Forwar|
|00003e80| 64 20 73 75 62 2d 65 78 | 70 72 65 73 73 69 6f 6e |d sub-ex|pression|
|00003e90| 2e 20 20 52 65 66 65 72 | 20 74 6f 20 74 68 65 20 |. Refer| to the |
|00003ea0| 65 6d 61 63 73 20 6d 61 | 6e 75 61 6c 20 66 6f 72 |emacs ma|nual for|
|00003eb0| 20 61 20 64 65 73 63 72 | 69 70 74 69 6f 6e 0a 20 | a descr|iption. |
|00003ec0| 20 20 20 20 20 20 6f 66 | 20 73 75 62 2d 65 78 70 | of| sub-exp|
|00003ed0| 72 65 73 73 69 6f 6e 73 | 2e 0a 71 28 20 20 2d 20 |ressions|..q( - |
|00003ee0| 20 42 61 63 6b 77 61 72 | 64 20 73 75 62 2d 65 78 | Backwar|d sub-ex|
|00003ef0| 70 72 65 73 73 69 6f 6e | 2e 0a 71 5d 20 20 2d 20 |pression|..q] - |
|00003f00| 20 46 6f 72 77 61 72 64 | 20 74 65 78 74 20 73 75 | Forward| text su|
|00003f10| 62 2d 65 78 70 72 65 73 | 73 69 6f 6e 2e 20 20 52 |b-expres|sion. R|
|00003f20| 65 66 65 72 20 74 6f 20 | 74 68 65 20 66 75 6e 63 |efer to |the func|
|00003f30| 74 69 6f 6e 20 66 6f 72 | 77 61 72 64 2d 74 65 78 |tion for|ward-tex|
|00003f40| 74 2d 73 65 78 70 0a 20 | 20 20 20 20 20 20 66 6f |t-sexp. | fo|
|00003f50| 72 20 61 20 64 65 73 63 | 72 69 70 74 69 6f 6e 20 |r a desc|ription |
|00003f60| 6f 66 20 68 6f 77 20 74 | 68 69 73 20 77 6f 72 6b |of how t|his work|
|00003f70| 73 2e 0a 71 5b 20 20 2d | 20 20 42 61 63 6b 77 61 |s..q[ -| Backwa|
|00003f80| 72 64 20 74 65 78 74 20 | 73 75 62 2d 65 78 70 72 |rd text |sub-expr|
|00003f90| 65 73 73 69 6f 6e 2e 0a | 0a 2f 20 20 20 2d 20 20 |ession..|./ - |
|00003fa0| 53 65 61 72 63 68 20 66 | 6f 72 77 61 72 64 2c 20 |Search f|orward, |
|00003fb0| 73 74 6f 70 70 69 6e 67 | 20 61 74 20 74 68 65 20 |stopping| at the |
|00003fc0| 62 65 67 69 6e 6e 69 6e | 67 20 6f 66 20 74 68 65 |beginnin|g of the|
|00003fd0| 20 6d 61 74 63 68 2e 0a | 3f 20 20 20 2d 20 20 53 | match..|? - S|
|00003fe0| 65 61 72 63 68 20 62 61 | 63 6b 77 61 72 64 2c 20 |earch ba|ckward, |
|00003ff0| 73 74 6f 70 70 69 6e 67 | 20 61 74 20 74 68 65 20 |stopping| at the |
|00004000| 62 65 67 69 6e 6e 69 6e | 67 20 6f 66 20 74 68 65 |beginnin|g of the|
|00004010| 20 6d 61 74 63 68 2e 0a | 71 2f 20 20 2d 20 20 53 | match..|q/ - S|
|00004020| 65 61 72 63 68 20 66 6f | 72 77 61 72 64 2c 20 73 |earch fo|rward, s|
|00004030| 74 6f 70 70 69 6e 67 20 | 61 74 20 74 68 65 20 65 |topping |at the e|
|00004040| 6e 64 20 6f 66 20 74 68 | 65 20 6d 61 74 63 68 2e |nd of th|e match.|
|00004050| 0a 71 3f 20 20 2d 20 20 | 53 65 61 72 63 68 20 62 |.q? - |Search b|
|00004060| 61 63 6b 77 61 72 64 2c | 20 73 74 6f 70 70 69 6e |ackward,| stoppin|
|00004070| 67 20 61 74 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |g at the| end of |
|00004080| 74 68 65 20 6d 61 74 63 | 68 2e 0a 0a 47 20 20 20 |the matc|h...G |
|00004090| 2d 20 20 47 6f 74 6f 20 | 6c 69 6e 65 3b 20 77 69 |- Goto |line; wi|
|000040a0| 74 68 6f 75 74 20 6e 75 | 6d 65 72 69 63 20 61 72 |thout nu|meric ar|
|000040b0| 67 75 6d 65 6e 74 2c 20 | 67 6f 74 6f 20 6c 61 73 |gument, |goto las|
|000040c0| 74 2e 0a 5e 40 20 20 2d | 20 20 53 65 74 20 6d 61 |t..^@ -| Set ma|
|000040d0| 72 6b 20 2d 20 77 69 74 | 68 20 63 6f 6d 6d 61 6e |rk - wit|h comman|
|000040e0| 64 2c 20 70 65 72 66 6f | 72 6d 20 63 6f 6d 6d 61 |d, perfo|rm comma|
|000040f0| 6e 64 20 6f 6e 20 61 72 | 65 61 20 62 65 74 77 65 |nd on ar|ea betwe|
|00004100| 65 6e 20 6d 61 72 6b 20 | 61 6e 64 20 70 6f 69 6e |en mark |and poin|
|00004110| 74 2e 0a 20 20 20 20 20 | 20 20 57 69 74 68 6f 75 |t.. | Withou|
|00004120| 74 20 63 6f 6d 6d 61 6e | 64 2c 20 77 69 74 68 6f |t comman|d, witho|
|00004130| 75 74 20 6e 75 6d 65 72 | 69 63 20 61 72 67 75 6d |ut numer|ic argum|
|00004140| 65 6e 74 2c 20 73 65 74 | 20 6d 61 72 6b 3b 20 77 |ent, set| mark; w|
|00004150| 69 74 68 20 6e 75 6d 65 | 72 69 63 0a 20 20 20 20 |ith nume|ric. |
|00004160| 20 20 20 61 72 67 75 6d | 65 6e 74 2c 20 6a 75 6d | argum|ent, jum|
|00004170| 70 20 74 6f 20 6d 61 72 | 6b 2e 0a 26 20 20 20 2d |p to mar|k..& -|
|00004180| 20 20 4d 6f 76 65 20 74 | 6f 20 74 68 65 20 65 6e | Move t|o the en|
|00004190| 64 20 6f 66 20 74 68 65 | 20 6c 61 73 74 20 74 65 |d of the| last te|
|000041a0| 78 74 20 74 68 61 74 20 | 77 61 73 20 70 75 74 2e |xt that |was put.|
|000041b0| 20 20 57 69 74 68 20 6e | 75 6d 65 72 69 63 20 61 | With n|umeric a|
|000041c0| 72 67 75 6d 65 6e 74 2c | 0a 20 20 20 20 20 20 20 |rgument,|. |
|000041d0| 6d 6f 76 65 20 74 6f 20 | 74 68 65 20 62 65 67 69 |move to |the begi|
|000041e0| 6e 6e 69 6e 67 20 6f 66 | 20 74 68 65 20 6c 61 73 |nning of| the las|
|000041f0| 74 20 74 65 78 74 20 74 | 68 61 74 20 77 61 73 20 |t text t|hat was |
|00004200| 70 75 74 2e 0a 5c 20 20 | 20 2d 20 20 4d 6f 76 65 |put..\ | - Move|
|00004210| 20 74 6f 20 74 68 65 20 | 70 6c 61 63 65 20 77 68 | to the |place wh|
|00004220| 65 72 65 20 74 68 65 20 | 6c 61 73 74 20 63 6f 6d |ere the |last com|
|00004230| 6d 61 6e 64 20 62 65 67 | 61 6e 2e 0a 20 20 20 20 |mand beg|an.. |
|00004240| 20 20 20 0a 37 2e 20 53 | 68 6f 72 74 68 61 6e 64 | .7. S|horthand|
|00004250| 20 43 6f 6d 6d 61 6e 64 | 73 0a 0a 43 20 20 20 2d | Command|s..C -|
|00004260| 20 20 43 68 61 6e 67 65 | 20 74 6f 20 65 6e 64 20 | Change| to end |
|00004270| 6f 66 20 6c 69 6e 65 2e | 0a 44 20 20 20 2d 20 20 |of line.|.D - |
|00004280| 44 65 6c 65 74 65 20 74 | 6f 20 65 6e 64 20 6f 66 |Delete t|o end of|
|00004290| 20 6c 69 6e 65 2e 0a 59 | 20 20 20 2d 20 20 59 61 | line..Y| - Ya|
|000042a0| 6e 6b 20 74 6f 20 65 6e | 64 20 6f 66 20 6c 69 6e |nk to en|d of lin|
|000042b0| 65 2e 0a 0a 72 20 20 20 | 2d 20 20 52 65 70 6c 61 |e...r |- Repla|
|000042c0| 63 65 20 6e 75 6d 62 65 | 72 20 28 64 65 66 61 75 |ce numbe|r (defau|
|000042d0| 6c 74 20 31 29 20 63 68 | 61 72 61 63 74 65 72 2e |lt 1) ch|aracter.|
|000042e0| 0a 73 20 20 20 2d 20 20 | 53 75 62 73 74 69 74 75 |.s - |Substitu|
|000042f0| 74 65 20 6e 75 6d 62 65 | 72 20 28 64 65 66 61 75 |te numbe|r (defau|
|00004300| 6c 74 20 31 29 20 63 68 | 61 72 61 63 74 65 72 73 |lt 1) ch|aracters|
|00004310| 0a 78 20 20 20 2d 20 20 | 44 65 6c 65 74 65 20 6e |.x - |Delete n|
|00004320| 75 6d 62 65 72 20 28 64 | 65 66 61 75 6c 74 20 31 |umber (d|efault 1|
|00004330| 29 20 63 68 61 72 61 63 | 74 65 72 20 61 74 20 63 |) charac|ter at c|
|00004340| 75 72 73 6f 72 2e 0a 58 | 20 20 20 2d 20 20 44 65 |ursor..X| - De|
|00004350| 6c 65 74 65 20 6e 75 6d | 62 65 72 20 28 64 65 66 |lete num|ber (def|
|00004360| 61 75 6c 74 20 31 29 20 | 63 68 61 72 61 63 74 65 |ault 1) |characte|
|00004370| 72 20 62 65 66 6f 72 65 | 20 63 75 72 73 6f 72 2e |r before| cursor.|
|00004380| 0a 7e 20 20 20 2d 20 20 | 54 6f 67 67 6c 65 20 63 |.~ - |Toggle c|
|00004390| 61 73 65 20 6f 66 20 6e | 75 6d 62 65 72 20 28 64 |ase of n|umber (d|
|000043a0| 65 66 61 75 6c 74 20 31 | 29 20 63 68 61 72 61 63 |efault 1|) charac|
|000043b0| 74 65 72 2e 0a 0a 0a 38 | 2e 20 49 6e 73 65 72 74 |ter....8|. Insert|
|000043c0| 20 43 6f 6d 6d 61 6e 64 | 73 0a 0a 41 20 20 20 2d | Command|s..A -|
|000043d0| 20 20 41 70 70 65 6e 64 | 20 74 6f 20 74 68 65 20 | Append| to the |
|000043e0| 65 6e 64 20 6f 66 20 61 | 20 6c 69 6e 65 2e 0a 49 |end of a| line..I|
|000043f0| 20 20 20 2d 20 20 49 6e | 73 65 72 74 20 61 74 20 | - In|sert at |
|00004400| 62 65 67 69 6e 6e 69 6e | 67 20 6f 66 20 6c 69 6e |beginnin|g of lin|
|00004410| 65 2e 0a 61 20 20 20 2d | 20 20 41 70 70 65 6e 64 |e..a -| Append|
|00004420| 20 74 65 78 74 20 61 66 | 74 65 72 20 70 6f 69 6e | text af|ter poin|
|00004430| 74 2e 0a 69 20 20 20 2d | 20 20 49 6e 73 65 72 74 |t..i -| Insert|
|00004440| 20 74 65 78 74 20 62 65 | 66 6f 72 65 20 70 6f 69 | text be|fore poi|
|00004450| 6e 74 2e 0a 6f 20 20 20 | 2d 20 20 4f 70 65 6e 20 |nt..o |- Open |
|00004460| 61 20 6c 69 6e 65 20 62 | 65 6c 6f 77 20 70 6f 69 |a line b|elow poi|
|00004470| 6e 74 2e 0a 4f 20 20 20 | 2d 20 20 4f 70 65 6e 20 |nt..O |- Open |
|00004480| 61 20 6c 69 6e 65 20 61 | 62 6f 76 65 20 70 6f 69 |a line a|bove poi|
|00004490| 6e 74 2e 0a 5e 4f 20 20 | 2d 20 20 4f 70 65 6e 20 |nt..^O |- Open |
|000044a0| 61 20 6c 69 6e 65 20 61 | 74 20 70 6f 69 6e 74 2e |a line a|t point.|
|000044b0| 0a 52 20 20 20 2d 20 20 | 4f 76 65 72 77 72 69 74 |.R - |Overwrit|
|000044c0| 65 20 74 65 78 74 2e 0a | 0a 39 2e 20 53 63 72 6f |e text..|.9. Scro|
|000044d0| 6c 6c 69 6e 67 20 43 6f | 6d 6d 61 6e 64 73 0a 0a |lling Co|mmands..|
|000044e0| 5e 46 20 20 2d 20 20 53 | 63 72 6f 6c 6c 20 6e 75 |^F - S|croll nu|
|000044f0| 6d 62 65 72 20 28 64 65 | 66 61 75 6c 74 20 31 29 |mber (de|fault 1)|
|00004500| 20 70 61 67 65 73 20 66 | 6f 72 77 61 72 64 2e 0a | pages f|orward..|
|00004510| 5e 42 20 20 2d 20 20 53 | 63 72 6f 6c 6c 20 6e 75 |^B - S|croll nu|
|00004520| 6d 62 65 72 20 28 64 65 | 66 61 75 6c 74 20 31 29 |mber (de|fault 1)|
|00004530| 20 70 61 67 65 73 20 62 | 61 63 6b 77 61 72 64 2e | pages b|ackward.|
|00004540| 0a 5e 55 20 20 2d 20 20 | 53 63 72 6f 6c 6c 20 6e |.^U - |Scroll n|
|00004550| 75 6d 62 65 72 20 28 64 | 65 66 61 75 6c 74 20 31 |umber (d|efault 1|
|00004560| 29 20 68 61 6c 66 20 70 | 61 67 65 73 20 75 70 2e |) half p|ages up.|
|00004570| 0a 5e 44 20 20 2d 20 20 | 53 63 72 6f 6c 6c 20 6e |.^D - |Scroll n|
|00004580| 75 6d 62 65 72 20 28 64 | 65 66 61 75 6c 74 20 31 |umber (d|efault 1|
|00004590| 29 20 68 61 6c 66 20 70 | 61 67 65 73 20 64 6f 77 |) half p|ages dow|
|000045a0| 6e 2e 0a 5e 45 20 20 2d | 20 20 53 63 72 6f 6c 6c |n..^E -| Scroll|
|000045b0| 20 6e 75 6d 62 65 72 20 | 28 64 65 66 61 75 6c 74 | number |(default|
|000045c0| 20 31 29 20 6c 69 6e 65 | 73 20 75 70 2e 0a 5e 45 | 1) line|s up..^E|
|000045d0| 20 20 2d 20 20 53 63 72 | 6f 6c 6c 20 6e 75 6d 62 | - Scr|oll numb|
|000045e0| 65 72 20 28 64 65 66 61 | 75 6c 74 20 31 29 20 6c |er (defa|ult 1) l|
|000045f0| 69 6e 65 73 20 64 6f 77 | 6e 2e 0a 5e 4c 20 20 2d |ines dow|n..^L -|
|00004600| 20 20 52 65 64 72 61 77 | 20 74 68 65 20 73 63 72 | Redraw| the scr|
|00004610| 65 65 6e 2e 0a 0a 31 30 | 2e 20 4d 69 73 63 65 6c |een...10|. Miscel|
|00004620| 6c 61 6e 65 6f 75 73 0a | 0a 45 53 43 20 2d 20 20 |laneous.|.ESC - |
|00004630| 43 61 6e 63 65 6c 20 61 | 6e 79 20 70 61 72 74 69 |Cancel a|ny parti|
|00004640| 61 6c 6c 79 20 66 6f 72 | 6d 65 64 20 63 6f 6d 6d |ally for|med comm|
|00004650| 61 6e 64 2e 0a 71 45 53 | 43 20 2d 20 43 61 6e 63 |and..qES|C - Canc|
|00004660| 65 6c 20 61 6e 79 20 70 | 61 72 74 69 61 6c 6c 79 |el any p|artially|
|00004670| 20 66 6f 72 6d 65 64 20 | 63 6f 6d 6d 61 6e 64 2e | formed |command.|
|00004680| 0a 5e 47 20 20 2d 20 20 | 53 69 67 6e 61 6c 20 61 |.^G - |Signal a|
|00004690| 6e 20 69 6e 74 65 72 72 | 75 70 74 2e 0a 75 20 20 |n interr|upt..u |
|000046a0| 20 2d 20 20 55 6e 64 6f | 2e 20 52 65 70 65 61 74 | - Undo|. Repeat|
|000046b0| 69 6e 67 20 75 6e 64 6f | 2c 20 75 6e 64 6f 65 73 |ing undo|, undoes|
|000046c0| 20 6d 6f 72 65 2e 20 20 | 41 73 20 61 20 73 70 65 | more. |As a spe|
|000046d0| 63 69 61 6c 20 63 61 73 | 65 2c 20 74 68 65 20 73 |cial cas|e, the s|
|000046e0| 65 71 75 65 6e 63 65 0a | 20 20 20 20 20 20 20 2e |equence.| .|
|000046f0| 75 2e 20 73 74 65 70 73 | 20 62 61 63 6b 20 74 68 |u. steps| back th|
|00004700| 72 6f 75 67 68 20 74 68 | 65 20 6f 6c 64 20 6d 76 |rough th|e old mv|
|00004710| 69 20 63 6f 6d 6d 61 6e | 64 73 20 66 6f 72 20 72 |i comman|ds for r|
|00004720| 65 2d 65 78 65 63 75 74 | 69 6f 6e 2e 20 0a 55 20 |e-execut|ion. .U |
|00004730| 20 20 2d 20 20 53 74 65 | 70 20 62 61 63 6b 20 74 | - Ste|p back t|
|00004740| 68 72 6f 75 67 68 20 70 | 72 65 76 69 6f 75 73 20 |hrough p|revious |
|00004750| 6d 61 72 6b 73 2e 20 20 | 43 65 72 74 61 69 6e 20 |marks. |Certain |
|00004760| 63 6f 6d 6d 61 6e 64 73 | 20 73 61 76 65 20 74 68 |commands| save th|
|00004770| 65 20 70 6f 73 69 74 69 | 6f 6e 0a 20 20 20 20 20 |e positi|on. |
|00004780| 20 20 74 68 65 79 20 77 | 65 72 65 20 61 74 20 69 | they w|ere at i|
|00004790| 6e 20 74 68 65 20 6d 61 | 72 6b 20 72 69 6e 67 2e |n the ma|rk ring.|
|000047a0| 20 20 52 65 70 65 61 74 | 65 64 20 55 73 20 61 6c | Repeat|ed Us al|
|000047b0| 6c 6f 77 20 79 6f 75 20 | 74 6f 20 72 65 74 72 61 |low you |to retra|
|000047c0| 63 65 0a 20 20 20 20 20 | 20 20 79 6f 75 72 20 73 |ce. | your s|
|000047d0| 74 65 70 73 2e 20 2d 55 | 20 72 65 76 65 72 73 65 |teps. -U| reverse|
|000047e0| 73 20 74 68 69 73 20 64 | 69 72 65 63 74 69 6f 6e |s this d|irection|
|000047f0| 2e 0a 20 20 20 20 20 20 | 20 0a 51 20 20 20 2d 20 |.. | .Q - |
|00004800| 20 45 6d 61 63 73 20 71 | 75 65 72 79 20 72 65 70 | Emacs q|uery rep|
|00004810| 6c 61 63 65 2e 0a 71 51 | 20 20 2d 20 20 45 6d 61 |lace..qQ| - Ema|
|00004820| 63 73 20 71 75 65 72 79 | 20 72 65 70 6c 61 63 65 |cs query| replace|
|00004830| 20 77 69 74 68 20 72 65 | 67 75 6c 61 72 20 65 78 | with re|gular ex|
|00004840| 70 72 65 73 73 69 6f 6e | 73 2e 0a 0a 70 20 20 20 |pression|s...p |
|00004850| 2d 20 20 50 75 74 20 74 | 65 78 74 20 61 66 74 65 |- Put t|ext afte|
|00004860| 72 2f 62 65 6c 6f 77 20 | 63 75 72 73 6f 72 2e 0a |r/below |cursor..|
|00004870| 50 20 20 20 2d 20 20 50 | 75 74 20 74 65 78 74 20 |P - P|ut text |
|00004880| 62 65 66 6f 72 65 2f 61 | 62 6f 76 65 20 63 75 72 |before/a|bove cur|
|00004890| 73 6f 72 2e 0a 5e 50 20 | 20 2d 20 20 50 75 74 20 |sor..^P | - Put |
|000048a0| 74 65 78 74 20 62 65 66 | 6f 72 65 20 63 75 72 73 |text bef|ore curs|
|000048b0| 6f 72 20 6e 6f 20 6d 61 | 74 74 65 72 20 68 6f 77 |or no ma|tter how|
|000048c0| 20 69 74 20 77 61 73 20 | 73 61 76 65 64 2e 0a 71 | it was |saved..q|
|000048d0| 70 20 20 2d 20 20 55 6e | 64 6f 20 6c 61 73 74 20 |p - Un|do last |
|000048e0| 70 75 74 20 63 6f 6d 6d | 61 6e 64 3b 20 69 66 20 |put comm|and; if |
|000048f0| 61 20 64 69 66 66 65 72 | 65 6e 74 20 70 75 74 20 |a differ|ent put |
|00004900| 63 6f 6d 6d 61 6e 64 20 | 28 69 2e 65 2e 20 61 20 |command |(i.e. a |
|00004910| 71 70 0a 20 20 20 20 20 | 20 20 66 6f 6c 6c 6f 77 |qp. | follow|
|00004920| 69 6e 67 20 61 20 50 20 | 63 6f 6d 6d 61 6e 64 29 |ing a P |command)|
|00004930| 20 64 6f 20 74 68 61 74 | 20 69 6e 73 74 65 61 64 | do that| instead|
|00004940| 3b 20 77 69 74 68 20 72 | 65 67 69 73 74 65 72 20 |; with r|egister |
|00004950| 61 72 67 75 6d 65 6e 74 | 2c 20 70 75 74 20 0a 20 |argument|, put . |
|00004960| 20 20 20 20 20 20 63 6f | 6e 74 65 6e 74 73 20 6f | co|ntents o|
|00004970| 66 20 72 65 67 69 73 74 | 65 72 20 69 6e 73 74 65 |f regist|er inste|
|00004980| 61 64 3b 20 77 69 74 68 | 20 6e 75 6d 65 72 69 63 |ad; with| numeric|
|00004990| 20 61 72 67 75 6d 65 6e | 74 20 64 69 66 66 65 72 | argumen|t differ|
|000049a0| 65 6e 74 20 66 72 6f 6d | 20 74 68 65 0a 20 20 20 |ent from| the. |
|000049b0| 20 20 20 20 6f 72 69 67 | 69 6e 61 6c 20 70 75 74 | orig|inal put|
|000049c0| 2c 20 70 75 74 20 74 68 | 61 74 20 6d 61 6e 79 20 |, put th|at many |
|000049d0| 69 6e 73 74 65 61 64 3b | 20 6f 74 68 65 72 77 69 |instead;| otherwi|
|000049e0| 73 65 2c 20 72 6f 74 61 | 74 65 20 6b 69 6c 6c 20 |se, rota|te kill |
|000049f0| 72 69 6e 67 0a 20 20 20 | 20 20 20 20 61 6e 64 20 |ring. | and |
|00004a00| 70 75 74 20 74 68 61 74 | 20 69 6e 73 74 65 61 64 |put that| instead|
|00004a10| 3b 20 77 69 74 68 20 6e | 65 67 61 74 69 76 65 20 |; with n|egative |
|00004a20| 6e 75 6d 65 72 69 63 20 | 61 72 67 75 6d 65 6e 74 |numeric |argument|
|00004a30| 2c 20 72 6f 74 61 74 65 | 20 6b 69 6c 6c 20 0a 20 |, rotate| kill . |
|00004a40| 20 20 20 20 20 20 72 69 | 6e 67 20 69 6e 20 6f 70 | ri|ng in op|
|00004a50| 70 6f 73 69 74 65 20 64 | 69 72 65 63 74 69 6f 6e |posite d|irection|
|00004a60| 20 61 6e 64 20 70 75 74 | 20 74 68 61 74 20 69 6e | and put| that in|
|00004a70| 73 74 65 61 64 2e 0a 71 | 50 20 20 2d 20 20 53 69 |stead..q|P - Si|
|00004a80| 6d 69 6c 61 72 20 74 6f | 20 61 62 6f 76 65 20 70 |milar to| above p|
|00004a90| 75 74 20 64 6f 20 61 20 | 50 2e 0a 71 5e 50 20 2d |ut do a |P..q^P -|
|00004aa0| 20 20 53 69 6d 69 6c 61 | 72 20 74 6f 20 61 62 6f | Simila|r to abo|
|00004ab0| 76 65 20 70 75 74 20 64 | 6f 20 61 20 5e 50 2e 0a |ve put d|o a ^P..|
|00004ac0| 0a 3d 20 20 20 2d 20 20 | 45 78 63 68 61 6e 67 65 |.= - |Exchange|
|00004ad0| 20 70 6f 69 6e 74 20 61 | 6e 64 20 6d 61 72 6b 2e | point a|nd mark.|
|00004ae0| 20 20 53 69 6d 69 6c 61 | 72 20 74 6f 20 76 69 20 | Simila|r to vi |
|00004af0| 60 60 20 63 6f 6d 6d 61 | 6e 64 2e 0a 53 20 20 20 |`` comma|nd..S |
|00004b00| 2d 20 20 53 75 73 70 65 | 6e 64 20 65 6d 61 63 73 |- Suspe|nd emacs|
|00004b10| 2c 20 62 72 69 6e 67 20 | 75 70 20 69 6e 74 65 72 |, bring |up inter|
|00004b20| 61 63 74 69 76 65 20 73 | 68 65 6c 6c 2e 0a 0a 7a |active s|hell...z|
|00004b30| 20 20 20 2d 20 20 46 6f | 6c 64 20 6c 69 6e 65 2e | - Fo|ld line.|
|00004b40| 0a 5a 20 20 20 2d 20 20 | 55 6e 66 6f 6c 64 20 6c |.Z - |Unfold l|
|00004b50| 69 6e 65 2e 0a 0a 6e 20 | 20 20 2d 20 20 52 65 70 |ine...n | - Rep|
|00004b60| 65 61 74 20 6c 61 73 74 | 20 73 65 61 72 63 68 2e |eat last| search.|
|00004b70| 0a 4e 20 20 20 2d 20 20 | 52 65 70 65 61 74 20 6c |.N - |Repeat l|
|00004b80| 61 73 74 20 73 65 61 72 | 63 68 20 69 6e 20 6f 70 |ast sear|ch in op|
|00004b90| 70 6f 73 69 74 65 20 64 | 69 72 65 63 74 69 6f 6e |posite d|irection|
|00004ba0| 2e 0a 0a 6d 20 20 20 2d | 20 20 53 61 76 65 20 63 |...m -| Save c|
|00004bb0| 75 72 73 6f 72 20 70 6f | 73 69 74 69 6f 6e 20 69 |ursor po|sition i|
|00004bc0| 6e 20 72 65 67 69 73 74 | 65 72 2c 20 61 6c 6c 6f |n regist|er, allo|
|00004bd0| 77 73 20 6d 6f 72 65 20 | 74 68 61 6e 20 6a 75 73 |ws more |than jus|
|00004be0| 74 20 61 20 74 6f 20 7a | 2e 0a 0a 5e 41 20 20 2d |t a to z|...^A -|
|00004bf0| 20 20 50 72 65 66 69 78 | 20 66 6f 72 20 65 6d 61 | Prefix| for ema|
|00004c00| 63 73 20 67 6c 6f 62 61 | 6c 20 6b 65 79 20 6d 61 |cs globa|l key ma|
|00004c10| 70 2e 20 20 5e 41 5e 45 | 20 77 6f 75 6c 64 20 74 |p. ^A^E| would t|
|00004c20| 61 6b 65 20 79 6f 75 20 | 74 6f 20 74 68 65 20 65 |ake you |to the e|
|00004c30| 6e 64 20 6f 66 0a 20 20 | 20 20 20 20 20 74 68 65 |nd of. | the|
|00004c40| 20 6c 69 6e 65 2e 20 0a | 5e 58 20 20 2d 20 20 50 | line. .|^X - P|
|00004c50| 72 65 66 69 78 20 66 6f | 72 20 65 6d 61 63 73 20 |refix fo|r emacs |
|00004c60| 5e 58 20 6b 65 79 20 6d | 61 70 2e 0a 5e 43 20 20 |^X key m|ap..^C |
|00004c70| 2d 20 20 50 72 65 66 69 | 78 20 66 6f 72 20 65 6d |- Prefi|x for em|
|00004c80| 61 63 73 20 5e 43 20 6b | 65 79 20 6d 61 70 2e 0a |acs ^C k|ey map..|
|00004c90| 5e 5f 20 20 2d 20 20 50 | 72 65 66 69 78 20 66 6f |^_ - P|refix fo|
|00004ca0| 72 20 65 6d 61 63 73 20 | 45 53 43 20 6b 65 79 20 |r emacs |ESC key |
|00004cb0| 6d 61 70 2e 0a 0a 4a 20 | 20 20 2d 20 20 4a 6f 69 |map...J | - Joi|
|00004cc0| 6e 20 6c 69 6e 65 73 20 | 74 6f 67 65 74 68 65 72 |n lines |together|
|00004cd0| 3b 20 77 69 74 68 20 6e | 75 6d 65 72 69 63 20 61 |; with n|umeric a|
|00004ce0| 72 67 75 6d 65 6e 74 2c | 20 6a 6f 69 6e 20 74 68 |rgument,| join th|
|00004cf0| 61 74 20 6d 61 6e 79 20 | 6c 69 6e 65 20 0a 20 20 |at many |line . |
|00004d00| 20 20 20 20 20 74 6f 67 | 65 74 68 65 72 2e 0a 20 | tog|ether.. |
|00004d10| 20 20 20 20 20 20 0a 5e | 49 20 20 2d 20 20 49 6e | .^|I - In|
|00004d20| 64 65 6e 74 20 6c 69 6e | 65 20 61 63 63 6f 72 64 |dent lin|e accord|
|00004d30| 69 6e 67 20 74 6f 20 6d | 6f 64 65 2e 0a 0a 71 5e |ing to m|ode...q^|
|00004d40| 53 20 2d 20 20 49 6e 63 | 72 65 6d 65 6e 74 61 6c |S - Inc|remental|
|00004d50| 20 73 65 61 72 63 68 20 | 72 65 67 75 6c 61 72 20 | search |regular |
|00004d60| 65 78 70 72 65 73 73 69 | 6f 6e 20 66 6f 72 77 61 |expressi|on forwa|
|00004d70| 72 64 2e 0a 71 5e 52 20 | 2d 20 20 49 6e 63 72 65 |rd..q^R |- Incre|
|00004d80| 6d 65 6e 74 61 6c 20 73 | 65 61 72 63 68 20 72 65 |mental s|earch re|
|00004d90| 67 75 6c 61 72 20 65 78 | 70 72 65 73 73 69 6f 6e |gular ex|pression|
|00004da0| 20 62 61 63 6b 77 61 72 | 64 2e 0a 0a 71 21 20 20 | backwar|d...q! |
|00004db0| 2d 20 20 45 78 65 63 75 | 74 65 20 61 20 73 68 65 |- Execu|te a she|
|00004dc0| 6c 6c 20 63 6f 6d 6d 61 | 6e 64 2e 20 20 57 69 74 |ll comma|nd. Wit|
|00004dd0| 68 20 6e 75 6d 65 72 69 | 63 20 61 72 67 75 6d 65 |h numeri|c argume|
|00004de0| 6e 74 2c 20 69 6e 73 65 | 72 74 20 6f 75 74 70 75 |nt, inse|rt outpu|
|00004df0| 74 20 69 6e 0a 20 20 20 | 20 20 20 20 62 75 66 66 |t in. | buff|
|00004e00| 65 72 2e 0a 0a 3a 20 20 | 20 2d 20 20 45 6d 61 63 |er...: | - Emac|
|00004e10| 73 20 65 78 65 63 75 74 | 65 20 65 78 74 65 6e 64 |s execut|e extend|
|00004e20| 65 64 20 63 6f 6d 6d 61 | 6e 64 2e 0a 71 2e 20 20 |ed comma|nd..q. |
|00004e30| 2d 20 20 45 64 69 74 20 | 70 72 65 76 69 6f 75 73 |- Edit |previous|
|00004e40| 20 6d 76 69 20 63 6f 6d | 6d 61 6e 64 73 2e 0a 71 | mvi com|mands..q|
|00004e50| 3b 20 20 2d 20 20 45 64 | 69 74 20 70 72 65 76 69 |; - Ed|it previ|
|00004e60| 6f 75 73 20 63 6f 6d 70 | 6c 65 78 20 63 6f 6d 6d |ous comp|lex comm|
|00004e70| 61 6e 64 73 2e 0a 71 3a | 20 20 2d 20 20 45 64 69 |ands..q:| - Edi|
|00004e80| 74 20 70 72 65 76 69 6f | 75 73 20 63 6f 6d 70 6c |t previo|us compl|
|00004e90| 65 78 20 63 6f 6d 6d 61 | 6e 64 73 20 62 79 20 73 |ex comma|nds by s|
|00004ea0| 65 61 72 63 68 69 6e 67 | 2e 0a 0a 71 2d 20 20 2d |earching|...q- -|
|00004eb0| 20 20 4d 6f 76 65 20 62 | 61 63 6b 77 61 72 64 20 | Move b|ackward |
|00004ec0| 6f 75 74 20 6f 66 20 6f | 6e 65 20 6c 65 76 65 6c |out of o|ne level|
|00004ed0| 20 6f 66 20 70 61 72 65 | 6e 74 68 65 73 65 73 2e | of pare|ntheses.|
|00004ee0| 20 20 57 69 74 68 20 61 | 72 67 75 6d 65 6e 74 2c | With a|rgument,|
|00004ef0| 20 64 6f 20 0a 20 20 20 | 20 20 20 20 74 68 69 73 | do . | this|
|00004f00| 20 74 68 61 74 20 6d 61 | 6e 79 20 74 69 6d 65 73 | that ma|ny times|
|00004f10| 2e 20 20 41 20 6e 65 67 | 61 74 69 76 65 20 61 72 |. A neg|ative ar|
|00004f20| 67 75 6d 65 6e 74 20 6d | 65 61 6e 73 20 6d 6f 76 |gument m|eans mov|
|00004f30| 65 20 66 6f 72 77 61 72 | 64 20 62 75 74 20 0a 20 |e forwar|d but . |
|00004f40| 20 20 20 20 20 20 73 74 | 69 6c 6c 20 74 6f 20 61 | st|ill to a|
|00004f50| 20 6c 65 73 73 20 64 65 | 65 70 20 73 70 6f 74 2e | less de|ep spot.|
|00004f60| 0a 20 20 20 20 20 20 20 | 0a 71 74 20 20 2d 20 20 |. |.qt - |
|00004f70| 4d 6f 76 65 20 74 68 65 | 20 70 6f 69 6e 74 20 74 |Move the| point t|
|00004f80| 6f 20 6e 75 6d 62 65 72 | 20 28 64 65 66 61 75 6c |o number| (defaul|
|00004f90| 74 20 31 29 20 6c 69 6e | 65 73 20 66 72 6f 6d 20 |t 1) lin|es from |
|00004fa0| 74 68 65 20 74 6f 70 20 | 6f 66 20 74 68 65 20 77 |the top |of the w|
|00004fb0| 69 6e 64 6f 77 2e 0a 71 | 62 20 20 2d 20 20 4d 6f |indow..q|b - Mo|
|00004fc0| 76 65 20 74 68 65 20 70 | 6f 69 6e 74 20 74 6f 20 |ve the p|oint to |
|00004fd0| 6e 75 6d 62 65 72 20 28 | 64 65 66 61 75 6c 74 20 |number (|default |
|00004fe0| 31 29 20 6c 69 6e 65 73 | 20 66 72 6f 6d 20 74 68 |1) lines| from th|
|00004ff0| 65 20 62 6f 74 74 6f 6d | 20 6f 66 20 0a 20 20 20 |e bottom| of . |
|00005000| 20 20 20 20 74 68 65 20 | 77 69 6e 64 6f 77 2e 0a | the |window..|
|00005010| 71 6d 20 20 2d 20 20 4d | 6f 76 65 20 74 68 65 20 |qm - M|ove the |
|00005020| 70 6f 69 6e 74 20 74 6f | 20 6e 75 6d 62 65 72 20 |point to| number |
|00005030| 28 64 65 66 61 75 6c 74 | 20 31 29 20 6c 69 6e 65 |(default| 1) line|
|00005040| 73 20 66 72 6f 6d 20 74 | 68 65 20 6d 69 64 64 6c |s from t|he middl|
|00005050| 65 20 6f 66 20 0a 20 20 | 20 20 20 20 20 74 68 65 |e of . | the|
|00005060| 20 77 69 6e 64 6f 77 2e | 0a 71 54 20 20 2d 20 20 | window.|.qT - |
|00005070| 41 66 74 65 72 20 61 20 | 73 65 61 72 63 68 2c 20 |After a |search, |
|00005080| 6d 6f 76 65 20 74 68 65 | 20 70 6f 69 6e 74 20 74 |move the| point t|
|00005090| 6f 20 6e 75 6d 62 65 72 | 20 28 64 65 66 61 75 6c |o number| (defaul|
|000050a0| 74 20 31 29 20 6c 69 6e | 65 73 20 66 72 6f 6d 20 |t 1) lin|es from |
|000050b0| 74 68 65 0a 20 20 20 20 | 20 20 20 74 6f 70 20 6f |the. | top o|
|000050c0| 66 20 74 68 65 20 77 69 | 6e 64 6f 77 2e 0a 71 42 |f the wi|ndow..qB|
|000050d0| 20 20 2d 20 20 41 66 74 | 65 72 20 61 20 73 65 61 | - Aft|er a sea|
|000050e0| 72 63 68 2c 20 6d 6f 76 | 65 20 74 68 65 20 70 6f |rch, mov|e the po|
|000050f0| 69 6e 74 20 74 6f 20 6e | 75 6d 62 65 72 20 28 64 |int to n|umber (d|
|00005100| 65 66 61 75 6c 74 20 31 | 29 20 6c 69 6e 65 73 20 |efault 1|) lines |
|00005110| 66 72 6f 6d 20 74 68 65 | 0a 20 20 20 20 20 20 20 |from the|. |
|00005120| 62 6f 74 74 6f 6d 20 6f | 66 20 74 68 65 20 77 69 |bottom o|f the wi|
|00005130| 6e 64 6f 77 2e 0a 71 4d | 20 20 2d 20 20 41 66 74 |ndow..qM| - Aft|
|00005140| 65 72 20 61 20 73 65 61 | 72 63 68 2c 20 6d 6f 76 |er a sea|rch, mov|
|00005150| 65 20 74 68 65 20 70 6f | 69 6e 74 20 74 6f 20 6e |e the po|int to n|
|00005160| 75 6d 62 65 72 20 28 64 | 65 66 61 75 6c 74 20 31 |umber (d|efault 1|
|00005170| 29 20 6c 69 6e 65 73 20 | 66 72 6f 6d 20 74 68 65 |) lines |from the|
|00005180| 0a 20 20 20 20 20 20 20 | 6d 69 64 64 6c 65 20 6f |. |middle o|
|00005190| 66 20 74 68 65 20 77 69 | 6e 64 6f 77 2e 0a 71 3c |f the wi|ndow..q<|
|000051a0| 73 70 3e 20 2d 20 43 61 | 6e 63 65 6c 20 70 6c 61 |sp> - Ca|ncel pla|
|000051b0| 63 65 6d 65 6e 74 20 61 | 66 74 65 72 20 73 65 61 |cement a|fter sea|
|000051c0| 72 63 68 69 6e 67 2e 0a | 0a 71 40 20 20 2d 20 20 |rching..|.q@ - |
|000051d0| 42 69 6e 64 20 74 68 65 | 20 6c 61 73 74 20 6b 65 |Bind the| last ke|
|000051e0| 79 62 6f 61 72 64 20 6d | 61 63 72 6f 20 74 6f 20 |yboard m|acro to |
|000051f0| 61 20 73 75 62 63 6f 6d | 6d 61 6e 64 20 6f 66 20 |a subcom|mand of |
|00005200| 40 2e 0a 71 69 20 20 2d | 20 20 49 6e 73 65 72 74 |@..qi -| Insert|
|00005210| 20 61 20 6d 61 63 72 6f | 20 69 6e 74 6f 20 74 68 | a macro| into th|
|00005220| 65 20 63 75 72 72 65 6e | 74 20 62 75 66 66 65 72 |e curren|t buffer|
|00005230| 20 61 73 20 74 65 78 74 | 2e 20 20 54 68 69 73 20 | as text|. This |
|00005240| 61 6c 6c 6f 77 73 20 6f | 6e 65 0a 20 20 20 20 20 |allows o|ne. |
|00005250| 20 20 74 6f 20 73 61 76 | 65 20 61 6e 64 20 72 65 | to sav|e and re|
|00005260| 73 74 6f 72 65 20 70 72 | 65 76 69 6f 75 73 6c 79 |store pr|eviously|
|00005270| 20 64 65 66 69 6e 65 64 | 20 6b 65 79 62 6f 61 72 | defined| keyboar|
|00005280| 64 20 6d 61 63 72 6f 73 | 2e 20 20 53 65 65 20 74 |d macros|. See t|
|00005290| 68 65 0a 20 20 20 20 20 | 20 20 65 6e 64 20 6f 66 |he. | end of|
|000052a0| 20 6d 76 69 2e 65 6c 20 | 66 6f 72 20 61 6e 20 65 | mvi.el |for an e|
|000052b0| 78 61 6d 70 6c 65 20 6f | 66 20 68 6f 77 20 74 6f |xample o|f how to|
|000052c0| 20 68 61 76 65 20 74 68 | 65 6d 20 6c 6f 61 64 65 | have th|em loade|
|000052d0| 64 20 62 61 63 6b 20 69 | 6e 0a 20 20 20 20 20 20 |d back i|n. |
|000052e0| 20 77 68 65 6e 20 61 20 | 66 69 6c 65 20 69 73 20 | when a |file is |
|000052f0| 72 65 61 64 2e 0a 71 49 | 20 20 2d 20 20 49 6e 73 |read..qI| - Ins|
|00005300| 65 72 74 20 61 6c 6c 20 | 65 78 69 73 74 69 6e 67 |ert all |existing|
|00005310| 20 6b 65 79 62 6f 61 72 | 64 20 6d 61 63 72 6f 73 | keyboar|d macros|
|00005320| 20 69 6e 74 6f 20 74 68 | 65 20 63 75 72 72 65 6e | into th|e curren|
|00005330| 74 20 62 75 66 66 65 72 | 2e 0a 0a 71 67 20 20 2d |t buffer|...qg -|
|00005340| 20 20 44 69 73 70 6c 61 | 79 20 63 75 72 72 65 6e | Displa|y curren|
|00005350| 74 20 6c 69 6e 65 2e 0a | 71 23 20 20 2d 20 20 44 |t line..|q# - D|
|00005360| 69 73 70 6c 61 79 20 63 | 75 72 72 65 6e 74 20 63 |isplay c|urrent c|
|00005370| 6f 6c 75 6d 6e 20 6e 75 | 6d 62 65 72 2e 0a 0a 5e |olumn nu|mber...^|
|00005380| 48 20 20 2d 20 20 41 63 | 63 65 73 73 20 6f 6e 6c |H - Ac|cess onl|
|00005390| 69 6e 65 20 68 65 6c 70 | 2e 0a 5e 54 20 20 2d 20 |ine help|..^T - |
|000053a0| 20 55 6e 69 76 65 72 73 | 61 6c 20 61 72 67 75 6d | Univers|al argum|
|000053b0| 65 6e 74 2e 20 20 55 73 | 65 66 75 6c 20 66 6f 72 |ent. Us|eful for|
|000053c0| 20 65 6d 61 63 73 20 73 | 6f 6d 65 20 65 6d 61 63 | emacs s|ome emac|
|000053d0| 73 20 63 6f 6d 6d 61 6e | 64 73 2e 0a 5e 5a 20 20 |s comman|ds..^Z |
|000053e0| 2d 20 20 52 65 74 75 72 | 6e 20 74 6f 20 65 6d 61 |- Retur|n to ema|
|000053f0| 63 73 20 6d 6f 64 65 2e | 0a 0a 71 76 20 20 2d 20 |cs mode.|..qv - |
|00005400| 20 53 65 74 20 76 61 72 | 69 61 62 6c 65 2e 0a 71 | Set var|iable..q|
|00005410| 78 20 20 2d 20 20 45 78 | 65 63 75 74 65 20 61 20 |x - Ex|ecute a |
|00005420| 73 61 76 65 64 20 6d 76 | 69 20 63 6f 6d 6d 61 6e |saved mv|i comman|
|00005430| 64 2e 0a 0a 71 5e 54 20 | 2d 20 20 54 6f 67 67 6c |d...q^T |- Toggl|
|00005440| 65 20 64 65 62 75 67 2e | 0a 71 5e 56 20 2d 20 20 |e debug.|.q^V - |
|00005450| 50 72 69 6e 74 20 6d 76 | 69 20 76 65 72 73 69 6f |Print mv|i versio|
|00005460| 6e 20 6e 75 6d 62 65 72 | 2e 0a 71 5e 5a 20 2d 20 |n number|..q^Z - |
|00005470| 20 44 75 6d 70 20 61 6e | 20 65 78 65 63 75 74 61 | Dump an| executa|
|00005480| 62 6c 65 20 66 6f 72 6d | 20 6f 66 20 74 68 65 20 |ble form| of the |
|00005490| 72 75 6e 6e 69 6e 67 20 | 65 6d 61 63 73 2e 0a 0a |running |emacs...|
|000054a0| 31 31 2e 20 4b 65 79 73 | 74 72 6f 6b 65 73 20 57 |11. Keys|trokes W|
|000054b0| 68 69 6c 65 20 49 6e 73 | 65 72 74 69 6e 67 0a 0a |hile Ins|erting..|
|000054c0| 57 68 69 6c 65 20 69 6e | 20 69 6e 73 65 72 74 20 |While in| insert |
|000054d0| 6d 6f 64 65 2c 20 6d 6f | 73 74 20 6b 65 79 73 20 |mode, mo|st keys |
|000054e0| 61 72 65 20 62 6f 75 6e | 64 20 74 6f 20 77 68 61 |are boun|d to wha|
|000054f0| 74 20 74 68 65 79 20 77 | 6f 75 6c 64 20 62 65 20 |t they w|ould be |
|00005500| 69 66 20 79 6f 75 0a 77 | 65 72 65 20 69 6e 20 65 |if you.w|ere in e|
|00005510| 6d 61 63 73 20 6d 6f 64 | 65 2e 20 20 54 68 69 73 |macs mod|e. This|
|00005520| 20 68 61 73 20 6d 61 6e | 79 20 61 64 76 61 6e 74 | has man|y advant|
|00005530| 61 67 65 73 2e 20 20 45 | 6d 61 63 73 20 62 69 6e |ages. E|macs bin|
|00005540| 64 73 20 63 65 72 74 61 | 69 6e 0a 6b 65 79 73 20 |ds certa|in.keys |
|00005550| 64 65 70 65 6e 64 69 6e | 67 20 6f 6e 20 77 68 61 |dependin|g on wha|
|00005560| 74 20 6d 6f 64 65 20 74 | 68 65 20 62 75 66 66 65 |t mode t|he buffe|
|00005570| 72 20 69 73 20 69 6e 20 | 74 6f 20 64 6f 20 73 70 |r is in |to do sp|
|00005580| 65 63 69 61 6c 20 74 68 | 69 6e 67 73 2e 20 20 46 |ecial th|ings. F|
|00005590| 6f 72 0a 69 6e 73 74 61 | 6e 63 65 2c 20 69 6e 20 |or.insta|nce, in |
|000055a0| 43 20 6d 6f 64 65 2c 20 | 74 68 69 6e 67 73 20 6c |C mode, |things l|
|000055b0| 69 6b 65 20 62 72 61 63 | 65 20 61 6e 64 20 74 61 |ike brac|e and ta|
|000055c0| 62 20 61 72 65 20 73 65 | 74 20 75 70 20 74 6f 0a |b are se|t up to.|
|000055d0| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 69 6e |automati|cally in|
|000055e0| 64 65 6e 74 20 69 6e 20 | 61 20 70 72 6f 70 65 72 |dent in |a proper|
|000055f0| 20 6d 6f 64 65 20 66 6f | 72 20 43 20 70 72 6f 67 | mode fo|r C prog|
|00005600| 72 61 6d 6d 69 6e 67 2e | 20 20 41 20 66 65 77 20 |ramming.| A few |
|00005610| 6b 65 79 73 0a 61 72 65 | 20 6f 76 65 72 72 69 64 |keys.are| overrid|
|00005620| 64 65 6e 20 74 6f 20 61 | 63 63 6f 6d 6d 6f 64 61 |den to a|ccommoda|
|00005630| 74 65 20 76 69 20 73 74 | 79 6c 65 20 66 65 61 74 |te vi st|yle feat|
|00005640| 75 72 65 73 2e 20 20 5e | 48 20 64 65 6c 65 74 65 |ures. ^|H delete|
|00005650| 73 20 74 68 65 0a 70 72 | 65 76 69 6f 75 73 20 77 |s the.pr|evious w|
|00005660| 6f 72 64 2c 20 5e 5a 20 | 69 6e 73 65 72 74 73 20 |ord, ^Z |inserts |
|00005670| 77 68 61 74 20 77 61 73 | 20 69 6e 73 65 72 74 65 |what was| inserte|
|00005680| 64 20 69 6e 20 74 68 65 | 20 6c 61 73 74 20 6d 76 |d in the| last mv|
|00005690| 69 20 69 6e 73 65 72 74 | 0a 63 6f 6d 6d 61 6e 64 |i insert|.command|
|000056a0| 2c 20 74 61 62 20 6a 75 | 73 74 20 69 6e 73 65 72 |, tab ju|st inser|
|000056b0| 74 73 20 61 20 74 61 62 | 2c 20 65 73 63 61 70 65 |ts a tab|, escape|
|000056c0| 20 72 65 74 75 72 6e 73 | 20 79 6f 75 20 74 6f 20 | returns| you to |
|000056d0| 63 6f 6d 6d 61 6e 64 0a | 6d 6f 64 65 2c 20 61 6e |command.|mode, an|
|000056e0| 64 20 5e 5f 20 67 69 76 | 65 73 20 79 6f 75 20 61 |d ^_ giv|es you a|
|000056f0| 63 63 65 73 73 20 74 6f | 20 65 6d 61 63 73 20 65 |ccess to| emacs e|
|00005700| 73 63 61 70 65 20 6b 65 | 79 20 63 6f 6d 6d 61 6e |scape ke|y comman|
|00005710| 64 73 2e 20 20 41 6c 6c | 20 74 68 65 20 0a 72 65 |ds. All| the .re|
|00005720| 73 74 20 6f 66 20 74 68 | 65 20 6b 65 79 73 20 61 |st of th|e keys a|
|00005730| 72 65 20 62 6f 75 6e 64 | 20 74 6f 20 77 68 61 74 |re bound| to what|
|00005740| 20 74 68 65 79 20 77 6f | 75 6c 64 20 62 65 20 69 | they wo|uld be i|
|00005750| 6e 20 65 6d 61 63 73 20 | 6d 6f 64 65 2e 0a 0a 31 |n emacs |mode...1|
|00005760| 32 2e 20 4d 69 6e 69 62 | 75 66 66 65 72 20 4f 70 |2. Minib|uffer Op|
|00005770| 65 72 61 74 69 6f 6e 0a | 0a 4d 61 6e 79 20 63 6f |eration.|.Many co|
|00005780| 6d 6d 61 6e 64 73 20 69 | 6e 20 65 6d 61 63 73 20 |mmands i|n emacs |
|00005790| 70 72 6f 6d 70 74 20 79 | 6f 75 20 6f 6e 20 74 68 |prompt y|ou on th|
|000057a0| 65 20 6c 61 73 74 20 6c | 69 6e 65 20 6f 66 20 74 |e last l|ine of t|
|000057b0| 68 65 20 73 63 72 65 65 | 6e 20 66 6f 72 0a 61 64 |he scree|n for.ad|
|000057c0| 64 69 74 69 6f 6e 61 6c | 20 69 6e 66 6f 72 6d 61 |ditional| informa|
|000057d0| 74 69 6f 6e 2e 20 20 54 | 68 69 73 20 69 73 20 6b |tion. T|his is k|
|000057e0| 6e 6f 77 6e 20 61 73 20 | 74 68 65 20 6d 69 6e 69 |nown as |the mini|
|000057f0| 2d 62 75 66 66 65 72 2e | 20 20 49 74 20 69 73 20 |-buffer.| It is |
|00005800| 61 0a 74 72 75 65 20 62 | 75 66 66 65 72 20 61 6e |a.true b|uffer an|
|00005810| 64 20 74 68 75 73 20 63 | 61 6e 20 62 65 20 65 64 |d thus c|an be ed|
|00005820| 69 74 65 64 20 69 6e 2e | 20 20 42 79 20 64 65 66 |ited in.| By def|
|00005830| 61 75 6c 74 2c 20 79 6f | 75 20 61 72 65 20 69 6e |ault, yo|u are in|
|00005840| 20 69 6e 73 65 72 74 0a | 6d 6f 64 65 20 77 68 65 | insert.|mode whe|
|00005850| 6e 20 69 6e 20 74 68 69 | 73 20 62 75 66 66 65 72 |n in thi|s buffer|
|00005860| 2e 20 20 54 6f 20 65 6e | 74 65 72 20 76 69 20 6d |. To en|ter vi m|
|00005870| 6f 64 65 2c 20 73 69 6d | 70 6c 79 20 70 72 65 73 |ode, sim|ply pres|
|00005880| 73 20 74 68 65 20 65 73 | 63 61 70 65 0a 6b 65 79 |s the es|cape.key|
|00005890| 2e 20 20 59 6f 75 20 73 | 68 6f 75 6c 64 20 6e 6f |. You s|hould no|
|000058a0| 77 20 68 61 76 65 20 66 | 75 6c 6c 20 76 69 20 65 |w have f|ull vi e|
|000058b0| 64 69 74 69 6e 67 20 69 | 6e 63 6c 75 64 69 6e 67 |diting i|ncluding|
|000058c0| 20 74 68 65 20 72 65 67 | 69 73 74 65 72 73 2c 0a | the reg|isters,.|
|000058d0| 72 65 70 65 61 74 2c 20 | 61 6e 64 20 6b 69 6c 6c |repeat, |and kill|
|000058e0| 20 72 69 6e 67 2e 20 20 | 47 65 6e 65 72 61 6c 6c | ring. |Generall|
|000058f0| 79 2c 20 75 6e 64 6f 20 | 69 6e 66 6f 72 6d 61 74 |y, undo |informat|
|00005900| 69 6f 6e 20 69 73 20 6e | 6f 74 20 6b 65 70 74 20 |ion is n|ot kept |
|00005910| 66 6f 72 0a 74 68 69 73 | 20 62 75 66 66 65 72 2e |for.this| buffer.|
|00005920| 20 20 59 6f 75 20 63 61 | 6e 20 65 76 65 6e 20 64 | You ca|n even d|
|00005930| 6f 20 74 68 69 6e 67 73 | 20 6c 69 6b 65 20 74 68 |o things| like th|
|00005940| 69 73 3a 20 59 6f 75 20 | 6e 65 65 64 20 74 6f 20 |is: You |need to |
|00005950| 73 65 61 72 63 68 0a 66 | 6f 72 20 73 6f 6d 65 20 |search.f|or some |
|00005960| 6c 6f 6e 67 20 69 64 65 | 6e 74 69 66 69 65 72 2e |long ide|ntifier.|
|00005970| 20 20 49 6e 73 74 65 61 | 64 20 6f 66 20 72 65 74 | Instea|d of ret|
|00005980| 79 70 69 6e 67 20 74 68 | 65 20 73 74 75 70 69 64 |yping th|e stupid|
|00005990| 20 74 68 69 6e 67 2c 20 | 6a 75 73 74 0a 64 6f 20 | thing, |just.do |
|000059a0| 61 20 79 61 6e 6b 20 6f | 6e 20 69 74 2c 20 70 72 |a yank o|n it, pr|
|000059b0| 65 73 73 20 74 68 65 20 | 2f 20 66 6f 72 20 73 65 |ess the |/ for se|
|000059c0| 61 72 63 68 2c 20 70 72 | 65 73 73 20 65 73 63 61 |arch, pr|ess esca|
|000059d0| 70 65 20 74 68 65 6e 20 | 70 2e 20 20 41 74 20 74 |pe then |p. At t|
|000059e0| 68 69 73 0a 70 6f 69 6e | 74 2c 20 79 6f 75 20 63 |his.poin|t, you c|
|000059f0| 61 6e 20 65 64 69 74 20 | 69 74 20 66 75 72 74 68 |an edit |it furth|
|00005a00| 65 72 20 6f 72 20 6a 75 | 73 74 20 73 75 62 6d 69 |er or ju|st submi|
|00005a10| 74 20 69 74 2e 20 20 54 | 68 69 73 20 77 6f 72 6b |t it. T|his work|
|00005a20| 73 20 66 6f 72 20 66 69 | 6c 65 0a 6e 61 6d 65 73 |s for fi|le.names|
|00005a30| 20 61 6e 64 20 6d 6f 73 | 74 20 6f 74 68 65 72 20 | and mos|t other |
|00005a40| 6f 70 65 72 61 74 69 6f | 6e 73 2e 20 20 41 6c 73 |operatio|ns. Als|
|00005a50| 6f 2c 20 69 74 20 69 73 | 20 76 65 72 79 20 77 6f |o, it is| very wo|
|00005a60| 72 74 68 77 68 69 6c 65 | 0a 6c 65 61 72 6e 69 6e |rthwhile|.learnin|
|00005a70| 67 20 65 6d 61 63 73 20 | 63 6f 6d 6d 61 6e 64 2c |g emacs |command,|
|00005a80| 20 66 69 6c 65 20 6e 61 | 6d 65 2c 20 61 6e 64 20 | file na|me, and |
|00005a90| 76 61 72 69 61 62 6c 65 | 20 6e 61 6d 65 20 63 6f |variable| name co|
|00005aa0| 6d 70 6c 65 74 69 6f 6e | 2e 0a 0a 31 33 2e 20 43 |mpletion|...13. C|
|00005ab0| 6f 6d 6d 61 6e 64 20 48 | 69 73 74 6f 72 79 0a 0a |ommand H|istory..|
|00005ac0| 45 6d 61 63 73 20 73 61 | 76 65 73 20 61 20 63 6f |Emacs sa|ves a co|
|00005ad0| 6d 6d 61 6e 64 20 68 69 | 73 74 6f 72 79 20 6f 66 |mmand hi|story of|
|00005ae0| 20 77 68 61 74 20 69 74 | 20 63 61 6c 6c 73 20 63 | what it| calls c|
|00005af0| 6f 6d 70 6c 65 78 20 63 | 6f 6d 6d 61 6e 64 73 2e |omplex c|ommands.|
|00005b00| 0a 54 68 65 73 65 20 61 | 72 65 20 63 6f 6d 6d 61 |.These a|re comma|
|00005b10| 6e 64 73 20 74 68 61 74 | 20 72 65 71 75 69 72 65 |nds that| require|
|00005b20| 20 70 72 6f 6d 70 74 69 | 6e 67 2e 20 20 45 6d 61 | prompti|ng. Ema|
|00005b30| 63 73 20 61 6c 6c 6f 77 | 73 20 79 6f 75 20 74 6f |cs allow|s you to|
|00005b40| 20 72 65 63 61 6c 6c 0a | 74 68 65 73 65 2c 20 65 | recall.|these, e|
|00005b50| 64 69 74 20 74 68 65 6d | 20 61 6e 64 20 72 65 2d |dit them| and re-|
|00005b60| 65 78 65 63 75 74 65 20 | 74 68 65 6d 2e 20 20 46 |execute |them. F|
|00005b70| 6f 72 20 63 6f 6e 76 65 | 6e 69 65 6e 63 65 2c 20 |or conve|nience, |
|00005b80| 71 3b 20 69 73 20 62 6f | 75 6e 64 20 74 6f 0a 72 |q; is bo|und to.r|
|00005b90| 65 70 65 61 74 2d 63 6f | 6d 70 6c 65 78 2d 63 6f |epeat-co|mplex-co|
|00005ba0| 6d 6d 61 6e 64 2e 20 20 | 54 68 69 73 20 77 69 6c |mmand. |This wil|
|00005bb0| 6c 20 64 69 73 70 6c 61 | 79 20 74 68 65 20 6c 61 |l displa|y the la|
|00005bc0| 73 74 20 63 6f 6d 70 6c | 65 78 20 63 6f 6d 6d 61 |st compl|ex comma|
|00005bd0| 6e 64 2e 0a 59 6f 75 20 | 63 61 6e 20 65 64 69 74 |nd..You |can edit|
|00005be0| 20 69 74 20 61 6e 64 20 | 72 65 73 75 62 6d 69 74 | it and |resubmit|
|00005bf0| 20 69 74 2e 20 20 49 66 | 20 69 74 20 69 73 20 6e | it. If| it is n|
|00005c00| 6f 74 20 74 68 65 20 63 | 6f 72 72 65 63 74 20 6f |ot the c|orrect o|
|00005c10| 6e 65 20 5e 50 20 61 6e | 64 0a 5e 4e 20 74 61 6b |ne ^P an|d.^N tak|
|00005c20| 65 20 79 6f 75 20 74 6f | 20 74 68 65 20 70 72 65 |e you to| the pre|
|00005c30| 76 69 6f 75 73 20 61 6e | 64 20 6e 65 78 74 20 63 |vious an|d next c|
|00005c40| 6f 6d 6d 61 6e 64 73 20 | 72 65 73 70 65 63 74 69 |ommands |respecti|
|00005c50| 76 65 6c 79 2e 20 20 46 | 75 6c 6c 20 76 69 0a 65 |vely. F|ull vi.e|
|00005c60| 64 69 74 69 6e 67 20 69 | 73 20 61 76 61 69 6c 61 |diting i|s availa|
|00005c70| 62 6c 65 20 77 69 74 68 | 20 61 20 70 72 65 73 73 |ble with| a press|
|00005c80| 20 6f 66 20 74 68 65 20 | 65 73 63 61 70 65 20 6b | of the |escape k|
|00005c90| 65 79 2e 20 20 59 6f 75 | 20 63 61 6e 20 61 6c 73 |ey. You| can als|
|00005ca0| 6f 0a 73 65 61 72 63 68 | 20 66 6f 72 20 61 20 63 |o.search| for a c|
|00005cb0| 6f 6d 6d 61 6e 64 20 62 | 79 20 6e 61 6d 65 20 62 |ommand b|y name b|
|00005cc0| 79 20 70 72 65 73 73 69 | 6e 67 20 71 3a 2e 0a 0a |y pressi|ng q:...|
|00005cd0| 4d 76 69 20 61 6c 73 6f | 20 6d 61 69 6e 74 61 69 |Mvi also| maintai|
|00005ce0| 6e 73 20 61 20 63 6f 6d | 6d 61 6e 64 20 68 69 73 |ns a com|mand his|
|00005cf0| 74 6f 72 79 2e 20 20 49 | 74 20 69 73 20 6d 6f 73 |tory. I|t is mos|
|00005d00| 74 20 63 6f 6d 6d 6f 6e | 6c 79 20 75 73 65 64 20 |t common|ly used |
|00005d10| 62 79 0a 70 72 65 73 73 | 69 6e 67 20 74 68 65 20 |by.press|ing the |
|00005d20| 2e 20 6b 65 79 2e 20 20 | 54 68 69 73 20 77 69 6c |. key. |This wil|
|00005d30| 6c 20 72 65 2d 65 78 65 | 63 75 74 65 20 74 68 65 |l re-exe|cute the|
|00005d40| 20 6c 61 73 74 20 6d 76 | 69 20 63 6f 6d 6d 61 6e | last mv|i comman|
|00005d50| 64 2e 20 20 4e 6f 74 0a | 61 6c 6c 20 63 6f 6d 6d |d. Not.|all comm|
|00005d60| 61 6e 64 73 20 63 61 6e | 20 62 65 20 72 65 70 65 |ands can| be repe|
|00005d70| 61 74 65 64 2c 20 6f 6e | 6c 79 20 74 68 6f 73 65 |ated, on|ly those|
|00005d80| 20 74 68 61 74 20 67 65 | 74 20 73 61 76 65 64 20 | that ge|t saved |
|00005d90| 69 6e 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 0a 68 |in the c|ommand.h|
|00005da0| 69 73 74 6f 72 79 2e 20 | 20 55 6e 6c 69 6b 65 20 |istory. | Unlike |
|00005db0| 72 65 61 6c 20 76 69 2c | 20 6d 76 69 20 61 6c 6c |real vi,| mvi all|
|00005dc0| 6f 77 73 20 79 6f 75 20 | 74 6f 20 61 6c 74 65 72 |ows you |to alter|
|00005dd0| 20 61 6e 79 20 6f 66 20 | 74 68 65 20 6d 6f 74 69 | any of |the moti|
|00005de0| 6f 6e 0a 6d 6f 64 69 66 | 69 65 72 73 20 66 6f 72 |on.modif|iers for|
|00005df0| 20 74 68 65 20 70 72 65 | 76 69 6f 75 73 20 63 6f | the pre|vious co|
|00005e00| 6d 6d 61 6e 64 2e 20 20 | 46 6f 72 20 69 6e 73 74 |mmand. |For inst|
|00005e10| 61 6e 63 65 2c 20 69 66 | 20 74 68 65 20 6c 61 73 |ance, if| the las|
|00005e20| 74 0a 63 6f 6d 6d 61 6e | 64 20 65 78 65 63 75 74 |t.comman|d execut|
|00005e30| 65 64 20 77 61 73 20 33 | 64 77 20 28 64 65 6c 65 |ed was 3|dw (dele|
|00005e40| 74 65 20 33 20 77 6f 72 | 64 73 29 2c 20 69 66 20 |te 3 wor|ds), if |
|00005e50| 6f 6e 65 20 74 79 70 65 | 64 20 2e 2c 20 33 20 6d |one type|d ., 3 m|
|00005e60| 6f 72 65 0a 77 6f 72 64 | 73 20 77 6f 75 6c 64 20 |ore.word|s would |
|00005e70| 62 65 20 64 65 6c 65 74 | 65 64 2e 20 20 48 6f 77 |be delet|ed. How|
|00005e80| 65 76 65 72 2c 20 69 66 | 20 6f 6e 65 20 74 79 70 |ever, if| one typ|
|00005e90| 65 64 20 32 2e 20 20 32 | 20 77 6f 72 64 73 20 77 |ed 2. 2| words w|
|00005ea0| 6f 75 6c 64 20 62 65 0a | 64 65 6c 65 74 65 64 2e |ould be.|deleted.|
|00005eb0| 20 20 49 66 20 6f 6e 65 | 20 74 79 70 65 64 20 22 | If one| typed "|
|00005ec0| 61 2e 20 33 20 77 6f 72 | 64 73 20 77 6f 75 6c 64 |a. 3 wor|ds would|
|00005ed0| 20 62 65 20 64 65 6c 65 | 74 65 64 20 61 6e 64 20 | be dele|ted and |
|00005ee0| 73 61 76 65 64 20 69 6e | 0a 72 65 67 69 73 74 65 |saved in|.registe|
|00005ef0| 72 20 61 2e 20 20 41 6e | 79 20 6d 6f 74 69 6f 6e |r a. An|y motion|
|00005f00| 20 6d 6f 64 69 66 69 65 | 72 73 20 67 69 76 65 6e | modifie|rs given|
|00005f10| 20 74 6f 20 2e 20 6f 76 | 65 72 72 69 64 65 20 74 | to . ov|erride t|
|00005f20| 68 65 20 6f 6e 65 73 20 | 74 68 61 74 0a 77 65 72 |he ones |that.wer|
|00005f30| 65 20 73 61 76 65 64 20 | 77 68 65 6e 20 74 68 65 |e saved |when the|
|00005f40| 20 63 6f 6d 6d 61 6e 64 | 20 77 61 73 20 65 78 65 | command| was exe|
|00005f50| 63 75 74 65 64 2e 0a 0a | 54 68 65 20 6d 76 69 20 |cuted...|The mvi |
|00005f60| 68 69 73 74 6f 72 79 20 | 63 61 6e 20 61 6c 73 6f |history |can also|
|00005f70| 20 62 65 20 64 69 73 70 | 6c 61 79 65 64 2c 20 65 | be disp|layed, e|
|00005f80| 64 69 74 65 64 2c 20 72 | 65 73 75 62 6d 69 74 74 |dited, r|esubmitt|
|00005f90| 65 64 2c 20 61 6e 64 20 | 73 61 76 65 64 2e 0a 54 |ed, and |saved..T|
|00005fa0| 6f 20 65 64 69 74 20 6f | 6c 64 20 63 6f 6d 6d 61 |o edit o|ld comma|
|00005fb0| 6e 64 73 20 71 2e 20 69 | 73 20 75 73 65 64 2c 20 |nds q. i|s used, |
|00005fc0| 5e 50 20 61 6e 64 20 5e | 4e 20 74 61 6b 65 20 79 |^P and ^|N take y|
|00005fd0| 6f 75 20 74 6f 20 74 68 | 65 20 70 72 65 76 69 6f |ou to th|e previo|
|00005fe0| 75 73 0a 61 6e 64 20 6e | 65 78 74 20 63 6f 6d 6d |us.and n|ext comm|
|00005ff0| 61 6e 64 20 72 65 73 70 | 65 63 74 69 76 65 6c 79 |and resp|ectively|
|00006000| 20 77 68 69 6c 65 20 69 | 6e 20 69 6e 73 65 72 74 | while i|n insert|
|00006010| 20 6d 6f 64 65 2e 20 20 | 71 6b 20 61 6e 64 20 71 | mode. |qk and q|
|00006020| 6a 20 64 6f 20 74 68 65 | 0a 73 61 6d 65 20 69 6e |j do the|.same in|
|00006030| 20 63 6f 6d 6d 61 6e 64 | 20 6d 6f 64 65 2e 20 20 | command| mode. |
|00006040| 71 5c 20 61 6c 6c 6f 77 | 73 20 79 6f 75 20 74 6f |q\ allow|s you to|
|00006050| 20 73 65 61 72 63 68 20 | 66 6f 72 20 61 6e 20 6f | search |for an o|
|00006060| 6c 64 20 63 6f 6d 6d 61 | 6e 64 2c 20 71 4e 0a 72 |ld comma|nd, qN.r|
|00006070| 65 70 65 61 74 73 20 74 | 68 65 20 73 61 6d 65 20 |epeats t|he same |
|00006080| 73 65 61 72 63 68 2c 20 | 61 6e 64 20 71 56 20 61 |search, |and qV a|
|00006090| 6c 6c 6f 77 73 20 79 6f | 75 20 74 6f 20 73 61 76 |llows yo|u to sav|
|000060a0| 65 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 20 61 73 |e the co|mmand as|
|000060b0| 20 61 0a 6e 61 6d 65 64 | 20 76 61 72 69 61 62 6c | a.named| variabl|
|000060c0| 65 20 66 6f 72 20 65 78 | 65 63 75 74 69 6f 6e 20 |e for ex|ecution |
|000060d0| 61 74 20 61 6e 79 20 74 | 69 6d 65 20 77 69 74 68 |at any t|ime with|
|000060e0| 20 74 68 65 20 71 78 20 | 63 6f 6d 6d 61 6e 64 2e | the qx |command.|
|000060f0| 0a 0a 31 34 2e 20 4d 76 | 69 20 56 61 72 69 61 62 |..14. Mv|i Variab|
|00006100| 6c 65 73 0a 0a 4d 76 69 | 20 75 73 65 73 20 73 6f |les..Mvi| uses so|
|00006110| 6d 65 20 76 61 72 69 61 | 62 6c 65 73 20 74 68 61 |me varia|bles tha|
|00006120| 74 20 63 61 6e 20 62 65 | 20 73 65 74 20 62 79 20 |t can be| set by |
|00006130| 74 68 65 20 75 73 65 72 | 20 74 6f 20 63 6f 6e 74 |the user| to cont|
|00006140| 72 6f 6c 20 69 74 73 0a | 61 63 74 69 6f 6e 2e 20 |rol its.|action. |
|00006150| 20 54 68 65 73 65 20 61 | 72 65 20 73 65 74 20 74 | These a|re set t|
|00006160| 6f 20 64 65 66 61 75 6c | 74 73 20 61 74 20 73 74 |o defaul|ts at st|
|00006170| 61 72 74 75 70 2e 20 20 | 43 68 61 6e 67 69 6e 67 |artup. |Changing|
|00006180| 20 6f 6e 65 20 77 69 6c | 6c 20 6f 6e 6c 79 0a 63 | one wil|l only.c|
|00006190| 68 61 6e 67 65 20 69 74 | 20 69 6e 20 74 68 61 74 |hange it| in that|
|000061a0| 20 62 75 66 66 65 72 2e | 20 20 54 68 65 20 76 61 | buffer.| The va|
|000061b0| 6c 75 65 20 73 65 65 6e | 20 62 79 20 74 68 65 20 |lue seen| by the |
|000061c0| 6f 74 68 65 72 20 62 75 | 66 66 65 72 73 20 77 69 |other bu|ffers wi|
|000061d0| 6c 6c 0a 72 65 6d 61 69 | 6e 20 75 6e 63 68 61 6e |ll.remai|n unchan|
|000061e0| 67 65 64 2e 0a 0a 54 68 | 65 20 76 61 72 69 61 62 |ged...Th|e variab|
|000061f0| 6c 65 73 20 61 6e 64 20 | 77 68 61 74 20 74 68 65 |les and |what the|
|00006200| 79 20 61 66 66 65 63 74 | 20 61 72 65 20 67 69 76 |y affect| are giv|
|00006210| 65 6e 20 62 65 6c 6f 77 | 3a 0a 0a 6d 76 69 2d 61 |en below|:..mvi-a|
|00006220| 69 20 20 20 20 20 20 2d | 20 77 68 65 6e 20 73 65 |i -| when se|
|00006230| 74 20 74 6f 20 74 2c 20 | 61 75 74 6f 20 69 6e 64 |t to t, |auto ind|
|00006240| 65 6e 74 20 69 73 20 70 | 65 72 66 6f 72 6d 65 64 |ent is p|erformed|
|00006250| 20 62 79 20 74 68 65 20 | 6f 2c 20 4f 2c 20 61 6e | by the |o, O, an|
|00006260| 64 20 5e 4f 0a 20 20 20 | 20 20 20 20 20 20 20 20 |d ^O. | |
|00006270| 20 20 20 63 6f 6d 6d 61 | 6e 64 73 2e 20 20 44 65 | comma|nds. De|
|00006280| 66 61 75 6c 74 20 74 2e | 0a 09 20 20 20 20 20 20 |fault t.|.. |
|00006290| 0a 6d 76 69 2d 6d 61 67 | 69 63 20 20 20 2d 20 77 |.mvi-mag|ic - w|
|000062a0| 68 65 6e 20 74 2c 20 73 | 65 61 72 63 68 65 73 20 |hen t, s|earches |
|000062b0| 61 72 65 20 72 65 67 75 | 6c 61 72 20 65 78 70 72 |are regu|lar expr|
|000062c0| 65 73 73 69 6f 6e 2e 20 | 20 44 65 66 61 75 6c 74 |ession. | Default|
|000062d0| 20 74 2e 0a 0a 6d 76 69 | 2d 77 72 61 70 20 20 20 | t...mvi|-wrap |
|000062e0| 20 2d 20 77 68 65 6e 20 | 74 2c 20 69 66 20 61 20 | - when |t, if a |
|000062f0| 73 65 61 72 63 68 20 68 | 69 74 73 20 74 68 65 20 |search h|its the |
|00006300| 65 6e 64 20 6f 66 20 74 | 68 65 20 62 75 66 66 65 |end of t|he buffe|
|00006310| 72 20 62 65 66 6f 72 65 | 0a 20 20 20 20 20 20 20 |r before|. |
|00006320| 20 20 20 20 20 20 20 63 | 6f 6d 70 6c 65 74 69 6e | c|ompletin|
|00006330| 67 2c 20 69 74 20 69 73 | 20 63 6f 6e 74 69 6e 75 |g, it is| continu|
|00006340| 65 64 20 66 72 6f 6d 20 | 74 68 65 20 6f 74 68 65 |ed from |the othe|
|00006350| 72 20 65 6e 64 20 6f 66 | 20 74 68 65 20 62 75 66 |r end of| the buf|
|00006360| 66 65 72 2e 0a 09 20 20 | 20 20 20 20 44 65 66 61 |fer... | Defa|
|00006370| 75 6c 74 20 74 2e 0a 09 | 20 20 20 20 20 20 0a 73 |ult t...| .s|
|00006380| 65 61 72 63 68 2d 73 6b | 69 70 2d 66 6f 6c 64 20 |earch-sk|ip-fold |
|00006390| 20 2d 20 77 68 65 6e 20 | 74 2c 20 66 6f 6c 64 65 | - when |t, folde|
|000063a0| 64 20 74 65 78 74 20 69 | 73 20 73 6b 69 70 70 65 |d text i|s skippe|
|000063b0| 64 20 64 75 72 69 6e 67 | 20 73 65 61 72 63 68 65 |d during| searche|
|000063c0| 73 2e 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |s.. | |
|000063d0| 20 20 20 20 20 20 20 44 | 65 66 61 75 6c 74 20 6e | D|efault n|
|000063e0| 69 6c 2e 0a 0a 31 35 2e | 20 45 6d 61 63 73 20 43 |il...15.| Emacs C|
|000063f0| 6f 6d 6d 61 6e 64 73 20 | 66 6f 72 20 45 78 20 55 |ommands |for Ex U|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.