diff options
author | aycabta <aycabta@gmail.com> | 2019-04-27 14:53:09 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2019-04-30 11:44:20 +0900 |
commit | 17350c7e5534c8678097d70698fe08614a6c3997 (patch) | |
tree | 0f41959093014a97d50aeb06a052f5450b4cb6b1 /lib/reline/key_actor | |
parent | eb45ba61160dbae412407f232fe9b3252eb99362 (diff) | |
download | ruby-17350c7e5534c8678097d70698fe08614a6c3997.tar.gz |
Add Reline as a fallback library for Readline
* lib/reine.rb, lib/reline/*: Reline is a readline stdlib compatible
library.
* lib/readline.rb: Readline uses a fallback to Reline when ext/readline
doesn't exist.
* tool/sync_default_gems.rb: add ruby/reline as a default gem.
* appveyor.yml: add "set RELINE_TEST_ENCODING=Windows-31J" for test suit
of Reline, and add "--exclude readline" to "nmake test-all" on Visual
Studio builds because of strange behavior.
* spec/ruby/library/readline/spec_helper.rb: skip Reline as with
RbReadline.
Diffstat (limited to 'lib/reline/key_actor')
-rw-r--r-- | lib/reline/key_actor/base.rb | 7 | ||||
-rw-r--r-- | lib/reline/key_actor/emacs.rb | 518 | ||||
-rw-r--r-- | lib/reline/key_actor/vi_command.rb | 519 | ||||
-rw-r--r-- | lib/reline/key_actor/vi_insert.rb | 518 |
4 files changed, 1562 insertions, 0 deletions
diff --git a/lib/reline/key_actor/base.rb b/lib/reline/key_actor/base.rb new file mode 100644 index 0000000000..f4abac55d4 --- /dev/null +++ b/lib/reline/key_actor/base.rb @@ -0,0 +1,7 @@ +class Reline::KeyActor::Base + MAPPING = Array.new(256) + + def get_method(key) + self.class::MAPPING[key] + end +end diff --git a/lib/reline/key_actor/emacs.rb b/lib/reline/key_actor/emacs.rb new file mode 100644 index 0000000000..0836cd340c --- /dev/null +++ b/lib/reline/key_actor/emacs.rb @@ -0,0 +1,518 @@ +class Reline::KeyActor::Emacs < Reline::KeyActor::Base + MAPPING = [ + # 0 ^@ + :em_set_mark, + # 1 ^A + :ed_move_to_beg, + # 2 ^B + :ed_prev_char, + # 3 ^C + :ed_ignore, + # 4 ^D + :em_delete_or_list, + # 5 ^E + :ed_move_to_end, + # 6 ^F + :ed_next_char, + # 7 ^G + :ed_unassigned, + # 8 ^H + :em_delete_prev_char, + # 9 ^I + :ed_unassigned, + # 10 ^J + :ed_newline, + # 11 ^K + :ed_kill_line, + # 12 ^L + :ed_clear_screen, + # 13 ^M + :ed_newline, + # 14 ^N + :ed_next_history, + # 15 ^O + :ed_ignore, + # 16 ^P + :ed_prev_history, + # 17 ^Q + :ed_ignore, + # 18 ^R + :ed_redisplay, + # 19 ^S + :ed_ignore, + # 20 ^T + :ed_transpose_chars, + # 21 ^U + :em_kill_line, + # 22 ^V + :ed_quoted_insert, + # 23 ^W + :em_kill_region, + # 24 ^X + :ed_sequence_lead_in, + # 25 ^Y + :em_yank, + # 26 ^Z + :ed_ignore, + # 27 ^[ + :em_meta_next, + # 28 ^\ + :ed_ignore, + # 29 ^] + :ed_ignore, + # 30 ^^ + :ed_unassigned, + # 31 ^_ + :ed_unassigned, + # 32 SPACE + :ed_insert, + # 33 ! + :ed_insert, + # 34 " + :ed_insert, + # 35 # + :ed_insert, + # 36 $ + :ed_insert, + # 37 % + :ed_insert, + # 38 & + :ed_insert, + # 39 ' + :ed_insert, + # 40 ( + :ed_insert, + # 41 ) + :ed_insert, + # 42 * + :ed_insert, + # 43 + + :ed_insert, + # 44 , + :ed_insert, + # 45 - + :ed_insert, + # 46 . + :ed_insert, + # 47 / + :ed_insert, + # 48 0 + :ed_digit, + # 49 1 + :ed_digit, + # 50 2 + :ed_digit, + # 51 3 + :ed_digit, + # 52 4 + :ed_digit, + # 53 5 + :ed_digit, + # 54 6 + :ed_digit, + # 55 7 + :ed_digit, + # 56 8 + :ed_digit, + # 57 9 + :ed_digit, + # 58 : + :ed_insert, + # 59 ; + :ed_insert, + # 60 < + :ed_insert, + # 61 = + :ed_insert, + # 62 > + :ed_insert, + # 63 ? + :ed_insert, + # 64 @ + :ed_insert, + # 65 A + :ed_insert, + # 66 B + :ed_insert, + # 67 C + :ed_insert, + # 68 D + :ed_insert, + # 69 E + :ed_insert, + # 70 F + :ed_insert, + # 71 G + :ed_insert, + # 72 H + :ed_insert, + # 73 I + :ed_insert, + # 74 J + :ed_insert, + # 75 K + :ed_insert, + # 76 L + :ed_insert, + # 77 M + :ed_insert, + # 78 N + :ed_insert, + # 79 O + :ed_insert, + # 80 P + :ed_insert, + # 81 Q + :ed_insert, + # 82 R + :ed_insert, + # 83 S + :ed_insert, + # 84 T + :ed_insert, + # 85 U + :ed_insert, + # 86 V + :ed_insert, + # 87 W + :ed_insert, + # 88 X + :ed_insert, + # 89 Y + :ed_insert, + # 90 Z + :ed_insert, + # 91 [ + :ed_insert, + # 92 \ + :ed_insert, + # 93 ] + :ed_insert, + # 94 ^ + :ed_insert, + # 95 _ + :ed_insert, + # 96 ` + :ed_insert, + # 97 a + :ed_insert, + # 98 b + :ed_insert, + # 99 c + :ed_insert, + # 100 d + :ed_insert, + # 101 e + :ed_insert, + # 102 f + :ed_insert, + # 103 g + :ed_insert, + # 104 h + :ed_insert, + # 105 i + :ed_insert, + # 106 j + :ed_insert, + # 107 k + :ed_insert, + # 108 l + :ed_insert, + # 109 m + :ed_insert, + # 110 n + :ed_insert, + # 111 o + :ed_insert, + # 112 p + :ed_insert, + # 113 q + :ed_insert, + # 114 r + :ed_insert, + # 115 s + :ed_insert, + # 116 t + :ed_insert, + # 117 u + :ed_insert, + # 118 v + :ed_insert, + # 119 w + :ed_insert, + # 120 x + :ed_insert, + # 121 y + :ed_insert, + # 122 z + :ed_insert, + # 123 { + :ed_insert, + # 124 | + :ed_insert, + # 125 } + :ed_insert, + # 126 ~ + :ed_insert, + # 127 ^? + :em_delete_prev_char, + # 128 M-^@ + :ed_unassigned, + # 129 M-^A + :ed_unassigned, + # 130 M-^B + :ed_unassigned, + # 131 M-^C + :ed_unassigned, + # 132 M-^D + :ed_unassigned, + # 133 M-^E + :ed_unassigned, + # 134 M-^F + :ed_unassigned, + # 135 M-^G + :ed_unassigned, + # 136 M-^H + :ed_delete_prev_word, + # 137 M-^I + :ed_unassigned, + # 138 M-^J + :ed_unassigned, + # 139 M-^K + :ed_unassigned, + # 140 M-^L + :ed_clear_screen, + # 141 M-^M + :ed_unassigned, + # 142 M-^N + :ed_unassigned, + # 143 M-^O + :ed_unassigned, + # 144 M-^P + :ed_unassigned, + # 145 M-^Q + :ed_unassigned, + # 146 M-^R + :ed_unassigned, + # 147 M-^S + :ed_unassigned, + # 148 M-^T + :ed_unassigned, + # 149 M-^U + :ed_unassigned, + # 150 M-^V + :ed_unassigned, + # 151 M-^W + :ed_unassigned, + # 152 M-^X + :ed_unassigned, + # 153 M-^Y + :ed_unassigned, + # 154 M-^Z + :ed_unassigned, + # 155 M-^[ + :ed_unassigned, + # 156 M-^\ + :ed_unassigned, + # 157 M-^] + :ed_unassigned, + # 158 M-^^ + :ed_unassigned, + # 159 M-^_ + :em_copy_prev_word, + # 160 M-SPACE + :ed_unassigned, + # 161 M-! + :ed_unassigned, + # 162 M-" + :ed_unassigned, + # 163 M-# + :ed_unassigned, + # 164 M-$ + :ed_unassigned, + # 165 M-% + :ed_unassigned, + # 166 M-& + :ed_unassigned, + # 167 M-' + :ed_unassigned, + # 168 M-( + :ed_unassigned, + # 169 M-) + :ed_unassigned, + # 170 M-* + :ed_unassigned, + # 171 M-+ + :ed_unassigned, + # 172 M-, + :ed_unassigned, + # 173 M-- + :ed_unassigned, + # 174 M-. + :ed_unassigned, + # 175 M-/ + :ed_unassigned, + # 176 M-0 + :ed_argument_digit, + # 177 M-1 + :ed_argument_digit, + # 178 M-2 + :ed_argument_digit, + # 179 M-3 + :ed_argument_digit, + # 180 M-4 + :ed_argument_digit, + # 181 M-5 + :ed_argument_digit, + # 182 M-6 + :ed_argument_digit, + # 183 M-7 + :ed_argument_digit, + # 184 M-8 + :ed_argument_digit, + # 185 M-9 + :ed_argument_digit, + # 186 M-: + :ed_unassigned, + # 187 M-; + :ed_unassigned, + # 188 M-< + :ed_unassigned, + # 189 M-= + :ed_unassigned, + # 190 M-> + :ed_unassigned, + # 191 M-? + :ed_unassigned, + # 192 M-@ + :ed_unassigned, + # 193 M-A + :ed_unassigned, + # 194 M-B + :ed_prev_word, + # 195 M-C + :em_capitol_case, + # 196 M-D + :em_delete_next_word, + # 197 M-E + :ed_unassigned, + # 198 M-F + :em_next_word, + # 199 M-G + :ed_unassigned, + # 200 M-H + :ed_unassigned, + # 201 M-I + :ed_unassigned, + # 202 M-J + :ed_unassigned, + # 203 M-K + :ed_unassigned, + # 204 M-L + :em_lower_case, + # 205 M-M + :ed_unassigned, + # 206 M-N + :ed_search_next_history, + # 207 M-O + :ed_sequence_lead_in, + # 208 M-P + :ed_search_prev_history, + # 209 M-Q + :ed_unassigned, + # 210 M-R + :ed_unassigned, + # 211 M-S + :ed_unassigned, + # 212 M-T + :ed_unassigned, + # 213 M-U + :em_upper_case, + # 214 M-V + :ed_unassigned, + # 215 M-W + :em_copy_region, + # 216 M-X + :ed_command, + # 217 M-Y + :ed_unassigned, + # 218 M-Z + :ed_unassigned, + # 219 M-[ + :ed_sequence_lead_in, + # 220 M-\ + :ed_unassigned, + # 221 M-] + :ed_unassigned, + # 222 M-^ + :ed_unassigned, + # 223 M-_ + :ed_unassigned, + # 223 M-` + :ed_unassigned, + # 224 M-a + :ed_unassigned, + # 225 M-b + :ed_prev_word, + # 226 M-c + :em_capitol_case, + # 227 M-d + :em_delete_next_word, + # 228 M-e + :ed_unassigned, + # 229 M-f + :em_next_word, + # 230 M-g + :ed_unassigned, + # 231 M-h + :ed_unassigned, + # 232 M-i + :ed_unassigned, + # 233 M-j + :ed_unassigned, + # 234 M-k + :ed_unassigned, + # 235 M-l + :em_lower_case, + # 236 M-m + :ed_unassigned, + # 237 M-n + :ed_search_next_history, + # 238 M-o + :ed_unassigned, + # 239 M-p + :ed_search_prev_history, + # 240 M-q + :ed_unassigned, + # 241 M-r + :ed_unassigned, + # 242 M-s + :ed_unassigned, + # 243 M-t + :ed_unassigned, + # 244 M-u + :em_upper_case, + # 245 M-v + :ed_unassigned, + # 246 M-w + :em_copy_region, + # 247 M-x + :ed_command, + # 248 M-y + :ed_unassigned, + # 249 M-z + :ed_unassigned, + # 250 M-{ + :ed_unassigned, + # 251 M-| + :ed_unassigned, + # 252 M-} + :ed_unassigned, + # 253 M-~ + :ed_unassigned, + # 254 M-^? + :ed_delete_prev_word + # 255 + # EOF + ] +end diff --git a/lib/reline/key_actor/vi_command.rb b/lib/reline/key_actor/vi_command.rb new file mode 100644 index 0000000000..724f459011 --- /dev/null +++ b/lib/reline/key_actor/vi_command.rb @@ -0,0 +1,519 @@ +class Reline::KeyActor::ViCommand < Reline::KeyActor::Base + MAPPING = [ + # 0 ^@ + :ed_unassigned, + # 1 ^A + :ed_move_to_beg, + # 2 ^B + :ed_unassigned, + # 3 ^C + :ed_ignore, + # 4 ^D + :vi_end_of_transmission, + # 5 ^E + :ed_move_to_end, + # 6 ^F + :ed_unassigned, + # 7 ^G + :ed_unassigned, + # 8 ^H + :ed_delete_prev_char, + # 9 ^I + :ed_unassigned, + # 10 ^J + :ed_newline, + # 11 ^K + :ed_kill_line, + # 12 ^L + :ed_clear_screen, + # 13 ^M + :ed_newline, + # 14 ^N + :ed_next_history, + # 15 ^O + :ed_ignore, + # 16 ^P + :ed_prev_history, + # 17 ^Q + :ed_ignore, + # 18 ^R + :ed_redisplay, + # 19 ^S + :ed_ignore, + # 20 ^T + :ed_unassigned, + # 21 ^U + :vi_kill_line_prev, + # 22 ^V + :ed_quoted_insert, + # 23 ^W + :ed_delete_prev_word, + # 24 ^X + :ed_unassigned, + # 25 ^Y + :ed_unassigned, + # 26 ^Z + :ed_unassigned, + # 27 ^[ + :em_meta_next, + # 28 ^\ + :ed_ignore, + # 29 ^] + :ed_unassigned, + # 30 ^^ + :ed_unassigned, + # 31 ^_ + :ed_unassigned, + # 32 SPACE + :ed_next_char, + # 33 ! + :ed_unassigned, + # 34 " + :ed_unassigned, + # 35 # + :vi_comment_out, + # 36 $ + :ed_move_to_end, + # 37 % + :vi_match, + # 38 & + :ed_unassigned, + # 39 ' + :ed_unassigned, + # 40 ( + :ed_unassigned, + # 41 ) + :ed_unassigned, + # 42 * + :ed_unassigned, + # 43 + + :ed_next_history, + # 44 , + :vi_repeat_prev_char, + # 45 - + :ed_prev_history, + # 46 . + :vi_redo, + # 47 / + :vi_search_prev, + # 48 0 + :vi_zero, + # 49 1 + :ed_argument_digit, + # 50 2 + :ed_argument_digit, + # 51 3 + :ed_argument_digit, + # 52 4 + :ed_argument_digit, + # 53 5 + :ed_argument_digit, + # 54 6 + :ed_argument_digit, + # 55 7 + :ed_argument_digit, + # 56 8 + :ed_argument_digit, + # 57 9 + :ed_argument_digit, + # 58 : + :ed_command, + # 59 ; + :vi_repeat_next_char, + # 60 < + :ed_unassigned, + # 61 = + :ed_unassigned, + # 62 > + :ed_unassigned, + # 63 ? + :vi_search_next, + # 64 @ + :vi_alias, + # 65 A + :vi_add_at_eol, + # 66 B + :vi_prev_big_word, + # 67 C + :vi_change_to_eol, + # 68 D + :ed_kill_line, + # 69 E + :vi_end_big_word, + # 70 F + :vi_prev_char, + # 71 G + :vi_to_history_line, + # 72 H + :ed_unassigned, + # 73 I + :vi_insert_at_bol, + # 74 J + :ed_search_next_history, + # 75 K + :ed_search_prev_history, + # 76 L + :ed_unassigned, + # 77 M + :ed_unassigned, + # 78 N + :vi_repeat_search_prev, + # 79 O + :ed_sequence_lead_in, + # 80 P + :vi_paste_prev, + # 81 Q + :ed_unassigned, + # 82 R + :vi_replace_mode, + # 83 S + :vi_substitute_line, + # 84 T + :vi_to_prev_char, + # 85 U + :vi_undo_line, + # 86 V + :ed_unassigned, + # 87 W + :vi_next_big_word, + # 88 X + :ed_delete_prev_char, + # 89 Y + :vi_yank_end, + # 90 Z + :ed_unassigned, + # 91 [ + :ed_sequence_lead_in, + # 92 \ + :ed_unassigned, + # 93 ] + :ed_unassigned, + # 94 ^ + :ed_move_to_beg, + # 95 _ + :vi_history_word, + # 96 ` + :ed_unassigned, + # 97 a + :vi_add, + # 98 b + :vi_prev_word, + # 99 c + :vi_change_meta, + # 100 d + :vi_delete_meta, + # 101 e + :vi_end_word, + # 102 f + :vi_next_char, + # 103 g + :ed_unassigned, + # 104 h + :ed_prev_char, + # 105 i + :vi_insert, + # 106 j + :ed_next_history, + # 107 k + :ed_prev_history, + # 108 l + :ed_next_char, + # 109 m + :ed_unassigned, + # 110 n + :vi_repeat_search_next, + # 111 o + :ed_unassigned, + # 112 p + :vi_paste_next, + # 113 q + :ed_unassigned, + # 114 r + :vi_replace_char, + # 115 s + :vi_substitute_char, + # 116 t + :vi_to_next_char, + # 117 u + :vi_undo, + # 118 v + :vi_histedit, + # 119 w + :vi_next_word, + # 120 x + :ed_delete_next_char, + # 121 y + :vi_yank, + # 122 z + :ed_unassigned, + # 123 { + :ed_unassigned, + # 124 | + :vi_to_column, + # 125 } + :ed_unassigned, + # 126 ~ + :vi_change_case, + # 127 ^? + :ed_delete_prev_char, + # 128 M-^@ + :ed_unassigned, + # 129 M-^A + :ed_unassigned, + # 130 M-^B + :ed_unassigned, + # 131 M-^C + :ed_unassigned, + # 132 M-^D + :ed_unassigned, + # 133 M-^E + :ed_unassigned, + # 134 M-^F + :ed_unassigned, + # 135 M-^G + :ed_unassigned, + # 136 M-^H + :ed_unassigned, + # 137 M-^I + :ed_unassigned, + # 138 M-^J + :ed_unassigned, + # 139 M-^K + :ed_unassigned, + # 140 M-^L + :ed_unassigned, + # 141 M-^M + :ed_unassigned, + # 142 M-^N + :ed_unassigned, + # 143 M-^O + :ed_unassigned, + # 144 M-^P + :ed_unassigned, + # 145 M-^Q + :ed_unassigned, + # 146 M-^R + :ed_unassigned, + # 147 M-^S + :ed_unassigned, + # 148 M-^T + :ed_unassigned, + # 149 M-^U + :ed_unassigned, + # 150 M-^V + :ed_unassigned, + # 151 M-^W + :ed_unassigned, + # 152 M-^X + :ed_unassigned, + # 153 M-^Y + :ed_unassigned, + # 154 M-^Z + :ed_unassigned, + # 155 M-^[ + :ed_unassigned, + # 156 M-^\ + :ed_unassigned, + # 157 M-^] + :ed_unassigned, + # 158 M-^^ + :ed_unassigned, + # 159 M-^_ + :ed_unassigned, + # 160 M-SPACE + :ed_unassigned, + # 161 M-! + :ed_unassigned, + # 162 M-" + :ed_unassigned, + # 163 M-# + :ed_unassigned, + # 164 M-$ + :ed_unassigned, + # 165 M-% + :ed_unassigned, + # 166 M-& + :ed_unassigned, + # 167 M-' + :ed_unassigned, + # 168 M-( + :ed_unassigned, + # 169 M-) + :ed_unassigned, + # 170 M-* + :ed_unassigned, + # 171 M-+ + :ed_unassigned, + # 172 M-, + :ed_unassigned, + # 173 M-- + :ed_unassigned, + # 174 M-. + :ed_unassigned, + # 175 M-/ + :ed_unassigned, + # 176 M-0 + :ed_unassigned, + # 177 M-1 + :ed_unassigned, + # 178 M-2 + :ed_unassigned, + # 179 M-3 + :ed_unassigned, + # 180 M-4 + :ed_unassigned, + # 181 M-5 + :ed_unassigned, + # 182 M-6 + :ed_unassigned, + # 183 M-7 + :ed_unassigned, + # 184 M-8 + :ed_unassigned, + # 185 M-9 + :ed_unassigned, + # 186 M-: + :ed_unassigned, + # 187 M-; + :ed_unassigned, + # 188 M-< + :ed_unassigned, + # 189 M-= + :ed_unassigned, + # 190 M-> + :ed_unassigned, + # 191 M-? + :ed_unassigned, + # 192 M-@ + :ed_unassigned, + # 193 M-A + :ed_unassigned, + # 194 M-B + :ed_unassigned, + # 195 M-C + :ed_unassigned, + # 196 M-D + :ed_unassigned, + # 197 M-E + :ed_unassigned, + # 198 M-F + :ed_unassigned, + # 199 M-G + :ed_unassigned, + # 200 M-H + :ed_unassigned, + # 201 M-I + :ed_unassigned, + # 202 M-J + :ed_unassigned, + # 203 M-K + :ed_unassigned, + # 204 M-L + :ed_unassigned, + # 205 M-M + :ed_unassigned, + # 206 M-N + :ed_unassigned, + # 207 M-O + :ed_sequence_lead_in, + # 208 M-P + :ed_unassigned, + # 209 M-Q + :ed_unassigned, + # 210 M-R + :ed_unassigned, + # 211 M-S + :ed_unassigned, + # 212 M-T + :ed_unassigned, + # 213 M-U + :ed_unassigned, + # 214 M-V + :ed_unassigned, + # 215 M-W + :ed_unassigned, + # 216 M-X + :ed_unassigned, + # 217 M-Y + :ed_unassigned, + # 218 M-Z + :ed_unassigned, + # 219 M-[ + :ed_sequence_lead_in, + # 220 M-\ + :ed_unassigned, + # 221 M-] + :ed_unassigned, + # 222 M-^ + :ed_unassigned, + # 223 M-_ + :ed_unassigned, + # 223 M-` + :ed_unassigned, + # 224 M-a + :ed_unassigned, + # 225 M-b + :ed_unassigned, + # 226 M-c + :ed_unassigned, + # 227 M-d + :ed_unassigned, + # 228 M-e + :ed_unassigned, + # 229 M-f + :ed_unassigned, + # 230 M-g + :ed_unassigned, + # 231 M-h + :ed_unassigned, + # 232 M-i + :ed_unassigned, + # 233 M-j + :ed_unassigned, + # 234 M-k + :ed_unassigned, + # 235 M-l + :ed_unassigned, + # 236 M-m + :ed_unassigned, + # 237 M-n + :ed_unassigned, + # 238 M-o + :ed_unassigned, + # 239 M-p + :ed_unassigned, + # 240 M-q + :ed_unassigned, + # 241 M-r + :ed_unassigned, + # 242 M-s + :ed_unassigned, + # 243 M-t + :ed_unassigned, + # 244 M-u + :ed_unassigned, + # 245 M-v + :ed_unassigned, + # 246 M-w + :ed_unassigned, + # 247 M-x + :ed_unassigned, + # 248 M-y + :ed_unassigned, + # 249 M-z + :ed_unassigned, + # 250 M-{ + :ed_unassigned, + # 251 M-| + :ed_unassigned, + # 252 M-} + :ed_unassigned, + # 253 M-~ + :ed_unassigned, + # 254 M-^? + :ed_unassigned + # 255 + # EOF + ] +end + diff --git a/lib/reline/key_actor/vi_insert.rb b/lib/reline/key_actor/vi_insert.rb new file mode 100644 index 0000000000..8585a642ab --- /dev/null +++ b/lib/reline/key_actor/vi_insert.rb @@ -0,0 +1,518 @@ +class Reline::KeyActor::ViInsert < Reline::KeyActor::Base + MAPPING = [ + # 0 ^@ + :ed_unassigned, + # 1 ^A + :ed_insert, + # 2 ^B + :ed_insert, + # 3 ^C + :ed_insert, + # 4 ^D + :vi_list_or_eof, + # 5 ^E + :ed_insert, + # 6 ^F + :ed_insert, + # 7 ^G + :ed_insert, + # 8 ^H + :vi_delete_prev_char, + # 9 ^I + :ed_insert, + # 10 ^J + :ed_newline, + # 11 ^K + :ed_insert, + # 12 ^L + :ed_insert, + # 13 ^M + :ed_newline, + # 14 ^N + :ed_insert, + # 15 ^O + :ed_insert, + # 16 ^P + :ed_insert, + # 17 ^Q + :ed_ignore, + # 18 ^R + :ed_insert, + # 19 ^S + :ed_ignore, + # 20 ^T + :ed_insert, + # 21 ^U + :vi_kill_line_prev, + # 22 ^V + :ed_quoted_insert, + # 23 ^W + :ed_delete_prev_word, + # 24 ^X + :ed_insert, + # 25 ^Y + :ed_insert, + # 26 ^Z + :ed_insert, + # 27 ^[ + :vi_command_mode, + # 28 ^\ + :ed_ignore, + # 29 ^] + :ed_insert, + # 30 ^^ + :ed_insert, + # 31 ^_ + :ed_insert, + # 32 SPACE + :ed_insert, + # 33 ! + :ed_insert, + # 34 " + :ed_insert, + # 35 # + :ed_insert, + # 36 $ + :ed_insert, + # 37 % + :ed_insert, + # 38 & + :ed_insert, + # 39 ' + :ed_insert, + # 40 ( + :ed_insert, + # 41 ) + :ed_insert, + # 42 * + :ed_insert, + # 43 + + :ed_insert, + # 44 , + :ed_insert, + # 45 - + :ed_insert, + # 46 . + :ed_insert, + # 47 / + :ed_insert, + # 48 0 + :ed_insert, + # 49 1 + :ed_insert, + # 50 2 + :ed_insert, + # 51 3 + :ed_insert, + # 52 4 + :ed_insert, + # 53 5 + :ed_insert, + # 54 6 + :ed_insert, + # 55 7 + :ed_insert, + # 56 8 + :ed_insert, + # 57 9 + :ed_insert, + # 58 : + :ed_insert, + # 59 ; + :ed_insert, + # 60 < + :ed_insert, + # 61 = + :ed_insert, + # 62 > + :ed_insert, + # 63 ? + :ed_insert, + # 64 @ + :ed_insert, + # 65 A + :ed_insert, + # 66 B + :ed_insert, + # 67 C + :ed_insert, + # 68 D + :ed_insert, + # 69 E + :ed_insert, + # 70 F + :ed_insert, + # 71 G + :ed_insert, + # 72 H + :ed_insert, + # 73 I + :ed_insert, + # 74 J + :ed_insert, + # 75 K + :ed_insert, + # 76 L + :ed_insert, + # 77 M + :ed_insert, + # 78 N + :ed_insert, + # 79 O + :ed_insert, + # 80 P + :ed_insert, + # 81 Q + :ed_insert, + # 82 R + :ed_insert, + # 83 S + :ed_insert, + # 84 T + :ed_insert, + # 85 U + :ed_insert, + # 86 V + :ed_insert, + # 87 W + :ed_insert, + # 88 X + :ed_insert, + # 89 Y + :ed_insert, + # 90 Z + :ed_insert, + # 91 [ + :ed_insert, + # 92 \ + :ed_insert, + # 93 ] + :ed_insert, + # 94 ^ + :ed_insert, + # 95 _ + :ed_insert, + # 96 ` + :ed_insert, + # 97 a + :ed_insert, + # 98 b + :ed_insert, + # 99 c + :ed_insert, + # 100 d + :ed_insert, + # 101 e + :ed_insert, + # 102 f + :ed_insert, + # 103 g + :ed_insert, + # 104 h + :ed_insert, + # 105 i + :ed_insert, + # 106 j + :ed_insert, + # 107 k + :ed_insert, + # 108 l + :ed_insert, + # 109 m + :ed_insert, + # 110 n + :ed_insert, + # 111 o + :ed_insert, + # 112 p + :ed_insert, + # 113 q + :ed_insert, + # 114 r + :ed_insert, + # 115 s + :ed_insert, + # 116 t + :ed_insert, + # 117 u + :ed_insert, + # 118 v + :ed_insert, + # 119 w + :ed_insert, + # 120 x + :ed_insert, + # 121 y + :ed_insert, + # 122 z + :ed_insert, + # 123 { + :ed_insert, + # 124 | + :ed_insert, + # 125 } + :ed_insert, + # 126 ~ + :ed_insert, + # 127 ^? + :vi_delete_prev_char, + # 128 M-^@ + :ed_insert, + # 129 M-^A + :ed_insert, + # 130 M-^B + :ed_insert, + # 131 M-^C + :ed_insert, + # 132 M-^D + :ed_insert, + # 133 M-^E + :ed_insert, + # 134 M-^F + :ed_insert, + # 135 M-^G + :ed_insert, + # 136 M-^H + :ed_insert, + # 137 M-^I + :ed_insert, + # 138 M-^J + :ed_insert, + # 139 M-^K + :ed_insert, + # 140 M-^L + :ed_insert, + # 141 M-^M + :ed_insert, + # 142 M-^N + :ed_insert, + # 143 M-^O + :ed_insert, + # 144 M-^P + :ed_insert, + # 145 M-^Q + :ed_insert, + # 146 M-^R + :ed_insert, + # 147 M-^S + :ed_insert, + # 148 M-^T + :ed_insert, + # 149 M-^U + :ed_insert, + # 150 M-^V + :ed_insert, + # 151 M-^W + :ed_insert, + # 152 M-^X + :ed_insert, + # 153 M-^Y + :ed_insert, + # 154 M-^Z + :ed_insert, + # 155 M-^[ + :ed_insert, + # 156 M-^\ + :ed_insert, + # 157 M-^] + :ed_insert, + # 158 M-^^ + :ed_insert, + # 159 M-^_ + :ed_insert, + # 160 M-SPACE + :ed_insert, + # 161 M-! + :ed_insert, + # 162 M-" + :ed_insert, + # 163 M-# + :ed_insert, + # 164 M-$ + :ed_insert, + # 165 M-% + :ed_insert, + # 166 M-& + :ed_insert, + # 167 M-' + :ed_insert, + # 168 M-( + :ed_insert, + # 169 M-) + :ed_insert, + # 170 M-* + :ed_insert, + # 171 M-+ + :ed_insert, + # 172 M-, + :ed_insert, + # 173 M-- + :ed_insert, + # 174 M-. + :ed_insert, + # 175 M-/ + :ed_insert, + # 176 M-0 + :ed_insert, + # 177 M-1 + :ed_insert, + # 178 M-2 + :ed_insert, + # 179 M-3 + :ed_insert, + # 180 M-4 + :ed_insert, + # 181 M-5 + :ed_insert, + # 182 M-6 + :ed_insert, + # 183 M-7 + :ed_insert, + # 184 M-8 + :ed_insert, + # 185 M-9 + :ed_insert, + # 186 M-: + :ed_insert, + # 187 M-; + :ed_insert, + # 188 M-< + :ed_insert, + # 189 M-= + :ed_insert, + # 190 M-> + :ed_insert, + # 191 M-? + :ed_insert, + # 192 M-@ + :ed_insert, + # 193 M-A + :ed_insert, + # 194 M-B + :ed_insert, + # 195 M-C + :ed_insert, + # 196 M-D + :ed_insert, + # 197 M-E + :ed_insert, + # 198 M-F + :ed_insert, + # 199 M-G + :ed_insert, + # 200 M-H + :ed_insert, + # 201 M-I + :ed_insert, + # 202 M-J + :ed_insert, + # 203 M-K + :ed_insert, + # 204 M-L + :ed_insert, + # 205 M-M + :ed_insert, + # 206 M-N + :ed_insert, + # 207 M-O + :ed_insert, + # 208 M-P + :ed_insert, + # 209 M-Q + :ed_insert, + # 210 M-R + :ed_insert, + # 211 M-S + :ed_insert, + # 212 M-T + :ed_insert, + # 213 M-U + :ed_insert, + # 214 M-V + :ed_insert, + # 215 M-W + :ed_insert, + # 216 M-X + :ed_insert, + # 217 M-Y + :ed_insert, + # 218 M-Z + :ed_insert, + # 219 M-[ + :ed_insert, + # 220 M-\ + :ed_insert, + # 221 M-] + :ed_insert, + # 222 M-^ + :ed_insert, + # 223 M-_ + :ed_insert, + # 223 M-` + :ed_insert, + # 224 M-a + :ed_insert, + # 225 M-b + :ed_insert, + # 226 M-c + :ed_insert, + # 227 M-d + :ed_insert, + # 228 M-e + :ed_insert, + # 229 M-f + :ed_insert, + # 230 M-g + :ed_insert, + # 231 M-h + :ed_insert, + # 232 M-i + :ed_insert, + # 233 M-j + :ed_insert, + # 234 M-k + :ed_insert, + # 235 M-l + :ed_insert, + # 236 M-m + :ed_insert, + # 237 M-n + :ed_insert, + # 238 M-o + :ed_insert, + # 239 M-p + :ed_insert, + # 240 M-q + :ed_insert, + # 241 M-r + :ed_insert, + # 242 M-s + :ed_insert, + # 243 M-t + :ed_insert, + # 244 M-u + :ed_insert, + # 245 M-v + :ed_insert, + # 246 M-w + :ed_insert, + # 247 M-x + :ed_insert, + # 248 M-y + :ed_insert, + # 249 M-z + :ed_insert, + # 250 M-{ + :ed_insert, + # 251 M-| + :ed_insert, + # 252 M-} + :ed_insert, + # 253 M-~ + :ed_insert, + # 254 M-^? + :ed_insert + # 255 + # EOF + ] +end |