1*4391d5e9Schristos# @(#)ev 8.4 (Berkeley) 4/29/94 2*4391d5e9Schristos 3*4391d5e9SchristosEv: Vi: Result: 4*4391d5e9Schristos<CK> <CK> (Cursor keys). Move around the file. 5*4391d5e9Schristos 6*4391d5e9SchristosMeta key commands: 7*4391d5e9Schristos^A<#> <#>G Goto line #. 8*4391d5e9Schristos^A$ G Goto the end of the file. 9*4391d5e9Schristos^A/ / Prompt and execute a forward search. 10*4391d5e9Schristos^A: : Prompt and execute an ex command. 11*4391d5e9Schristos^A? ? Prompt and execute a backward search. 12*4391d5e9Schristos^Ac y'<c> Copy to mark in line mode (or copy the current line). 13*4391d5e9Schristos^AC y`<c> Copy to mark in character mode. 14*4391d5e9Schristos^Ad d'<c> Delete to mark in line mode (or delete the current line). 15*4391d5e9Schristos^AD d`<c> Delete to mark in character mode. 16*4391d5e9Schristos^Aj J Join lines. 17*4391d5e9Schristos^Am m<c> Mark the current cursor position. 18*4391d5e9Schristos^AN N Repeat search in the reverse direction. 19*4391d5e9Schristos^An ^A Search for the word under the cursor. 20*4391d5e9Schristos^Ar u Redo a command. 21*4391d5e9Schristos^Au u Undo a command. 22*4391d5e9Schristos 23*4391d5e9SchristosSingle key commands: 24*4391d5e9Schristos^B ^B Page up a screen. 25*4391d5e9Schristos^C ^C Interrupt long-running commands. 26*4391d5e9Schristos^D ^D Page down a half-screen. 27*4391d5e9Schristos^E $ End of line. 28*4391d5e9Schristos^F ^F Page down a screen. 29*4391d5e9Schristos^G ^G File status/information. 30*4391d5e9Schristos^H X Delete the character to the left of the cursor. 31*4391d5e9Schristos^I (TAB) 32*4391d5e9Schristos^J j Cursor down one line. 33*4391d5e9Schristos^K k Cursor up one line. 34*4391d5e9Schristos^L ^L Redraw the screen. 35*4391d5e9Schristos^M (CR) ^M In insert mode, split the line at the current cursor, 36*4391d5e9Schristos creating a new line. 37*4391d5e9Schristos In overwrite mode, cursor down one line. 38*4391d5e9Schristos^N n Repeat previous search, in previous direction. 39*4391d5e9Schristos^O (UNUSED) 40*4391d5e9Schristos^P p Paste the cut text at the cursor position. 41*4391d5e9Schristos^Q (XON/XOFF) 42*4391d5e9Schristos^R (UNUSED) 43*4391d5e9Schristos^S (XON/XOFF) 44*4391d5e9Schristos^T D Truncate the line at the cursor position. 45*4391d5e9Schristos^U ^U Page up a half-screen. 46*4391d5e9Schristos^V<c> ^V<c> Insert/overwrite with a literal next character. 47*4391d5e9Schristos^W w Move forward one whitespace separated word. 48*4391d5e9Schristos^X x Delete the current character. 49*4391d5e9Schristos^Y (UNUSED) 50*4391d5e9Schristos^Z ^Z Suspend. 51*4391d5e9Schristos 52*4391d5e9SchristosNew ex mode commands: 53*4391d5e9Schristos 54*4391d5e9Schristos^A:set ov[erwrite] Toggle "insert" mode, so that input keys overwrite 55*4391d5e9Schristos the existing characters. 56