home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
ae.zip
/
ae.ini
< prev
next >
Wrap
Text File
|
1998-09-07
|
9KB
|
254 lines
;
; Andys Editor configuration file
; Andys personal preferences
;
;...srequired:0:
; These are required so that Tab and Enter work as expected.
; Having ^J defined like ^M helps in UNIX environments.
key_bind "^I" "character_tab"
key_bind "^M" "line_split"
key_bind "^J" "line_split"
;...e
;...snavigation:0:
; General navigation via WordStar cursor diamond and arrow-pad
key_bind "^D" "character_right"
key_bind "^S" "character_left"
key_bind "^F" "word_right"
key_bind "^A" "word_left"
key_bind "^E" "line_up"
key_bind "^X" "line_down"
key_bind "^R" "page_up"
key_bind "^C" "page_down"
key_bind "^W" "page_scroll_down"
key_bind "^Z" "page_scroll_up"
key_bind "Left" "character_left"
key_bind "Right" "character_right"
key_bind "Up" "line_up"
key_bind "Down" "line_down"
key_bind "PgUp" "page_up"
key_bind "PgDn" "page_down"
key_bind "^PgUp" "line_up line_up line_up line_up line_up"
key_bind "^PgDn" "line_down line_down line_down line_down line_down"
; I like the following
key_bind "^Left" "line_start"
key_bind "^Right" "line_end"
key_bind "Home" "fold_start"
key_bind "End" "fold_end"
key_bind "^Home" "tag_goto no"
key_bind "^End" "tag_goto yes"
; Most people prefer these
; key_bind "^Left" "word_left"
; key_bind "^Right" "word_right"
; key_bind "Home" "line_start"
; key_bind "End" "line_end"
; key_bind "^Home" "fold_start"
; key_bind "^End" "fold_end"
;...e
;...sbasic editing:0:
key_bind "^G" "character_delete_right"
key_bind "^H" "character_delete_left"
key_bind "^N" "character_delete_eol"
key_bind "^Q" "character_type ?"
; I like Ins to insert a new line
key_bind "Ins" "line_insert \"\""
; Most people prefer to toggle between insert and overtype modes
; key_bind "Ins" "setup_insert"
key_bind "Del" "character_delete_right"
; Delete should delete to its left
key_bind "Del127" "character_delete_left"
; But you could set it to insert ASCII 127
; key_bind "Del127" "character_type 127"
;...e
;...sblock commands:0:
key_bind "^O" "block_mark_1"
key_bind "^P" "block_mark_2"
key_prefix "^K"
key_bind "^K ^S" "block_mark_1"
key_bind "^K ^E" "block_mark_2"
key_bind "^K ^H" "block_unmark"
key_bind "^K ^F" "block_fold \"\" no 0"
key_bind "^K ^U" "block_unfold"
key_bind "^K ^C" "block_yank other_undelete"
key_bind "^K ^V" "block_delete other_undelete"
key_bind "^K ^D" "block_delete"
key_bind "^K ^Y" "block_yank"
key_bind "^K ^T" "block_entab"
key_bind "^K ^L" "block_detab"
key_bind "^K ^R" "block_read ?"
key_bind "^K ^W" "block_write ? no"
key_bind "^K ^X" "block_filter ?"
key_bind "@H" "block_unmark"
key_bind "@C" "block_yank other_undelete"
key_bind "@M" "block_delete other_undelete"
key_bind "@D" "block_delete"
key_bind "@Y" "block_yank"
key_bind "@R" "block_entab"
key_bind "@L" "block_detab"
key_bind "@F" "block_fold \"\" no 0"
key_bind "@U" "block_unfold"
;...e
;...sline commands:0:
key_bind "^Y" "line_delete"
key_prefix "^L"
key_bind "^L ^C" "line_insert \"\""
key_bind "^L ^F" "line_insert... \"\" no 0"
key_bind "^L ^V" "line_insert::: \"\" no 0"
key_bind "^L ^D" "line_delete"
key_bind "^L ^Y" "line_yank"
key_bind "^L ^S" "line_start"
key_bind "^L ^E" "line_end"
key_bind "^L ^I" "fold_in"
key_bind "^L ^O" "fold_out"
key_bind "^L ^X" "line_exec"
key_bind "^L ^T" "tag_line"
key_bind "^L ^P" "tag_goto no"
key_bind "^L ^N" "tag_goto yes"
key_bind "^L ^G" "line_goto ?"
key_bind "@G" "line_goto ?"
;...e
;...sbuffer commands:0:
key_prefix "^B"
key_bind "^B ^C" "buffer_create ? yes yes"
key_bind "^B ^D" "buffer_delete ?"
key_bind "^B ^S" "buffer_select ?"
key_bind "^B ^R" "buffer_read ?"
key_bind "^B ^W" "buffer_write ? no"
key_bind "^B ^N" "buffer_rename ? ?"
key_bind "@B" "buffer_select ?"
key_bind "@W" "buffer_write ? no"
;...e
;...sfolding:0:
key_bind "F1" "fold_open yes"
key_bind "F2" "fold_open no"
key_bind "F3" "fold_in"
key_bind "F4" "fold_out"
key_bind "F5" "line_insert... \"\" no 0"
key_bind "F6" "line_insert::: \"\" no 0"
;...e
;...ssearching:0:
key_bind "F7" "search_bracket"
key_bind "F8" "search_replace ? ? yes yes always if_open ? ? no"
key_bind "F9" "search_for ? yes yes always if_open ? 1 no"
key_bind "F10" "search_again"
;...e
;...scut\45\and\45\paste:0:
; Provide a simple multiple clipboard cut-and-paste mechanism by
; using temporary files.
; On a PC platform, use something like these
$P
key_bind "^F1" "block_read \"c:/tmp/ae1.cut\""
key_bind "^F2" "block_read \"c:/tmp/ae2.cut\""
key_bind "^F3" "block_read \"c:/tmp/ae3.cut\""
key_bind "^F4" "block_read \"c:/tmp/ae4.cut\""
key_bind "~F1" "block_write \"c:/tmp/ae1.cut\" no"
key_bind "~F2" "block_write \"c:/tmp/ae2.cut\" no"
key_bind "~F3" "block_write \"c:/tmp/ae3.cut\" no"
key_bind "~F4" "block_write \"c:/tmp/ae4.cut\" no"
$U
; On a type of UNIX, use something like these
key_bind "^F1" "block_read \"/tmp/ae1.cut\""
key_bind "^F2" "block_read \"/tmp/ae2.cut\""
key_bind "^F3" "block_read \"/tmp/ae3.cut\""
key_bind "^F4" "block_read \"/tmp/ae4.cut\""
key_bind "~F1" "block_write \"/tmp/ae1.cut\" no"
key_bind "~F2" "block_write \"/tmp/ae2.cut\" no"
key_bind "~F3" "block_write \"/tmp/ae3.cut\" no"
key_bind "~F4" "block_write \"/tmp/ae4.cut\" no"
$*
;...e
;...scolours:0:
; Black=0, Blue=1, Green=2, Cyan=3, Red=4, Magenta=5, Yellow=6, White=7.
; Basic colour is Foreground + 16 * Background.
; On DOS and OS/2, add 8 for bright, 128 for flashing.
; On Win32, add 8 bright foreground, 128 for bright background.
; On UNIX, add 256 for underline, 512 for standout, 768 for alternate -
; UNIX uses colours if possible, else use underline, standout and alternate.
; Luckily numbers may be given in hex.
; Default:
key_bind "@F1" "other_colours &007 &00e &24e &217 &21e &070"
; Paper-white:
key_bind "@F2" "other_colours &270 &271 &017 &030 &031 &257"
; Blue and white look:
key_bind "@F3" "other_colours &017 &01e &131 &147 &14e &070"
; Mono for laptop:
key_bind "@F4" "other_colours &007 &007 &370 &370 &370 &007"
; Ians style:
key_bind "@F5" "other_colours &007 &00e &21b &247 &24e &031"
; Sometimes I prefer the second scheme above as the default
;other_colours &270 &271 &017 &030 &031 &257
;...e
;...sscreen modes:0:
; Just a few commonly supported sizes
$P
key_bind "@F6" "other_mode 80 25"
key_bind "@F7" "other_mode 80 34"
key_bind "@F8" "other_mode 80 43"
key_bind "@F9" "other_mode 80 50"
key_bind "@F10" "other_mode 80 60"
key_bind "@F11" "other_mode 132 25"
key_bind "@F12" "other_mode 132 44"
$*
;...e
;...smisc:0:
key_bind "^^" "other_exit yes"
key_bind "^]" "other_exit yes"
key_bind "^U" "other_undelete"
key_bind "^T" "other_put"
key_bind "^V" "setup_insert"
key_bind "@P" "setup_autoindent"
key_bind "@J" "setup_visible"
key_bind "@T" "tag_line"
key_bind "@E" "tag_error line_down"
key_bind "@X" "other_exit yes"
key_bind "@S" "other_shell ?"
key_bind "@A" "other_abort ?"
key_bind "@Q" "other_squeeze"
;...e
;...slanguages:0:
language_create "top" "/*..." "*/" ".*\\.top" no yes yes 0 "_"
language_create "ae" ";..." "" "(.:)?ae.*\\.ini|(.*[/:])?\\.ae.*rc" no no yes 0 "_"
language_create "be" "/*..." "*/" "(.:)?be.*\\.ini|(.*[/:])?\\.be.*rc" no yes yes 0 "_"
language_create "c" "/*..." "*/" ".*\\.(c|h|y|C|H|cpp|hpp|cxx|hxx|sqc)" no yes yes 0 "_."
language_create "resource" "/*..." "*/" ".*\\.(rc|dlg)" no yes yes 0 "_"
language_create "module" ";..." "" ".*\\.def" no yes yes 0 "_."
language_create "make" "#..." "" "(.*[/:])?[Mm]akefile(\\..*)?|.*\\.ma?k" no yes yes 0 "_"
language_create "assembler" ";..." "" ".*\\.(s|i|asm|inc|mac|as)" no no yes 0 "_"
language_create "pascal" "{..." "}" ".*\\.pas" no yes yes 2 "_."
language_create "modula2" "(*..." "*)" ".*\\.mod" no yes yes 2 "_."
language_create "ada" "--..." "" ".*\\.ada" no yes yes 2 "_."
language_create "lisp" ";..." "" ".*\\.lsp" no yes yes 2 "_:"
language_create "batch" "rem..." "" ".*\\.(bat|cmd)" no no yes 0 ""
language_create "config" "REM ..." "" "(.*[/:])?config\.sys" no no yes 0 ";"
language_create "shell" "#..." "" ".*\\.(sh|csh)" no no yes 0 ""
language_create "script" ".*..." "" ".*\\.(scr|imb|ipf)" no yes yes 5 "_"
language_create "html" "<!--..." "-->" ".*\\.(htm|html|sht|shtml)" no yes yes 2 "_"
language_create "java" "//..." "" ".*\\.java?" no yes yes 0 "_."
language_create "nroff" ".\\\"..." "" ".*\\.n" no no yes 5 "_"
language_create "latex" "%..." "" ".*\\.tex" no no yes 5 "_"
language_create "guide" "'..." "" ".*\\.(ngs|ngl)" no no yes 5 ""
language_create "sql" "--..." "" ".*\\.sql" no yes yes 0 "_"
language_create "i82750" "/*..." "*/" ".*\\.vsm" no yes yes 0 "_"
language_create "semi" ";..." "" "" no yes yes 0 "_"
language_create "gofer" "--..." "" ".*\\.gs?" no yes yes 2 "_"
language_create "rt" ";..." "" ".*\\.rt" no yes yes 0 "_."
language_create "weave" "/*..." "*/" ".*\\.(wc|wh)" no yes yes 0 "_."
language_create "vhdl" "--...." "" ".*\\.vhdl?" no yes yes 0 "_."
;...e