1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
|
AE's VI Configuration File
Derived from the "Modual Interface with TERMINFO Function Keys"
provided by Anthony Howe with the ae package as modified
by Fabrizio Polacco to emulate key VI functionality
Modifications to work with Slang library TERMCAP implimentation
Copyright Dale Scheetz 1998, licensed under the GPL for
distribution by Debian and others who can use this license.
This configuration will not work under an xterm with respect to
the macros that use the function keys. Use /etc/ae/ae2vix.rc instead.
1:\
File read and write :r :w Left, down, up, right h,j,k,l\n\
exit and abort :q :q! Word left and right b w\n\
Macros :map Page down and up PgDn PgUp\n\
Help on and off F1 Front and end of line 0 \$\n\
Version Redraw :ver ^L Top and bottom of file \Home End\n\
Insert i Delete left and right X x\n\
Open O o Append A a\n\
Delete dd d[wb0] Copy yy y[wb0]\n\
Literal escape ^V Block, cut, and paste F2 F3 F4\n\
Undo u Invert case ~\n\
Print (only upper) P p Shift (only right) >>\n
#.help_off
.literal ^V
.insert_enter i
.insert_exit ^[
.cursor_up $(ku)
.cursor_down $(kd)
.cursor_left $(kl)
.cursor_right $(kr)
.cursor_up ^[[A
.cursor_down ^[[B
.cursor_left ^[[D
.cursor_right ^[[C
.page_up $(kP)
.page_up $(K3)
.page_down $(kN)
.page_down $(K5)
.page_up ^[[5~
.page_down ^[[6~
.file_top $(kh)
.file_top $(K1)
.file_bottom $(ke)
.file_bottom $(K4)
.help $(k1)
.block $(k2)
.cut $(k3)
.paste $(k4)
.cursor_up k
.cursor_down j
.cursor_left h
.cursor_right l
.cursor_left $(kb)
.cursor_right \s
.word_left b
.word_right w
.line_left \^
.line_left |
.line_left 0
.line_right \$
.file_top $(kh)
.file_bottom $(ke)
.file_top 1G
.file_bottom G
.file_top ^[[1~
.file_top [H
.file_bottom ^[[4~
.file_bottom [F
.delete_left X
.delete_right x
.delete_left $(kb)
.delete_left ^H
.delete_left ^?
.delete_right $(kD)
.delete_left ^?
.delete_right ^[[3~
.help ^[[[A
.help ^[OA
.help ^[OP
.help ^[[11~
.block ^[[[B
.block ^[OB
.block ^[OQ
.block ^[[12~
.cut ^[[[C
.cut ^[OC
.cut ^[OR
.cut ^[[13~
.paste ^[[[D
.paste ^[OD
.paste ^[OS
.paste ^[[14~
.flip_case ~
.undo u
.file_read :r
.file_write :w
.redraw ^L
.quit_ask :q\n
.quit :q!\n
.show_version :ver\n
.macro :map\n
.macro_define O 0i\r\033ki
.macro_define o \$i\r
.macro_define A \$i
.macro_define a 0i
.macro_define \r 0j
.macro_define \n 0j
.macro_define + 0j
.macro_define - 0k
.macro_define >> 0i\t\033
.macro_define dd 0^[OBj^[OC
.macro_define d\s ^[OBl^[OC
.macro_define dw ^[OBw^[OC
.macro_define db ^[OBb^[OC
.macro_define d0 ^[OB0^[OC
.macro_define d| d0
.macro_define d\^ d0
.macro_define d\$ ^[OB\$^[OC
.macro_define d1G ^[OB1G^[OC
.macro_define dG ^[OBG^[OC
.macro_define d$(kh) d1G
.macro_define d$(ke) dG
.macro_define P ^[OD
.macro_define p ^[OD
.macro_define yy 0^[OBj^[OCpk
.macro_define yw dwp
.macro_define yb dbp
.macro_define y0 d0p
.macro_define y| d0p
.macro_define y\^ d0p
.macro_define y\$ d\$p
.macro_define y1G d1Gp
.macro_define yG dGp
.macro_define y\s d\sp
.macro_define y$(kh) d1Gp
.macro_define y$(ke) dGp
#
.macro_define
.macro_define
.macro_define
.macro_define
2:Terminated successfully.\n
3:Unspecified error.\n
4:usage: %s [-f <config>] [file]\n
5:Failed to initialize the screen.\n
6:Problem with configuration file, line %lu.\n
7:Failed to allocate required memory.\n
8:Ok.
9:An error occured.
10:No more memory available.
11:File \"%s\" is too big to load.
12:Scrap is empty. Nothing to paste.
13:Failed to find file \"%s\".
14:Failed to open file \"%s\".
15:Failed to close file \"%s\".
16:Failed to read file \"%s\".
17:Failed to write file \"%s\".
18:Not a portable POSIX file name.
19:File \"%s\" %ld bytes.
20:File \"%s\" %ld bytes saved.
21:File \"%s\" %ld bytes read.
22:File \"%s\" modified.
23:Invalid control character or \\number not 0..255.
24:No such macro defined.
25:No more macro space.
26:Interrupt.
27:<< EOF >>
28:Macro :
29:File not saved. Quit (y/n) ?
30:[ Press a key to continue. ]
31:Read file :
32:Write file :
33:Write block :
34:\smore\s
35:\sy\b
36:\sn\b
37:\sq\b
38:Nothing to undo.
|