home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best Objectech Shareware Selections
/
UNTITLED.iso
/
boss
/
word
/
text
/
019
/
emacs.sl
< prev
next >
Wrap
Text File
|
1993-01-19
|
2KB
|
84 lines
;
; Emacs like bindings for Jed.
;
; The default keybindings for Jed use ^W, ^F, and ^K keymaps. Emacs
; does not bind these so turn them off
[Emacs_Loaded] 1 =Emacs_Loaded
"^K" unsetkey
"^W" unsetkey
"^F" unsetkey
; Jed default binding of the tab char ^I is to indent line. Here just insert
; the tab
;; "self_insert_cmd" "^I" setkey
"backward_delete_char" "^?" setkey
"bol" "^A" setkey
"previous_char_cmd" "^B" setkey
"delete_char_cmd" "^D" setkey
"eol_cmd" "^E" setkey
"next_char_cmd" "^F" setkey
"newline_and_indent" "^J" setkey
"kill_line" "^K" setkey
"redraw" "^L" setkey
"newline_and_indent" "^M" setkey
;;"newline" "^M" setkey
"next_line_cmd" "^N" setkey
"previous_line_cmd" "^P" setkey
"quoted_insert" "^Q" setkey
"search_backward" "^R" setkey
"search_forward" "^S" setkey
"page_down" "^V" setkey
"kill_region" "^W" setkey
"yank" "^Y" setkey
"sys_spawn_cmd" "^Z" setkey
;
; The escape map
;
"bskip_word" "^[b" setkey
"delete_word" "^[c" setkey
"skip_word" "^[f" setkey
"replace" "^[%" setkey
"bob" "^[<" setkey
"eob" "^[>" setkey
"narrow_paragraph" "^[N" setkey
"format_paragraph" "^[Q" setkey
"page_up" "^[V" setkey
"copy_region" "^[W" setkey
"evaluate_cmd" "^[X" setkey
"trim_whitespace" "^[\" setkey
;
; ^X map
;
"begin_macro" "^X(" setkey
"end_macro" "^X)" setkey
"mark_spot" "^X/" setkey
"one_window" "^X1" setkey
"split_window" "^X2" setkey
"scroll_left" "^X<" setkey
"scroll_right" "^X>" setkey
"switch_to_buffer" "^XB" setkey
"insert_file" "^XI" setkey
"execute_macro" "^XE" setkey
"pop_spot" "^XJ" setkey
"kill_buffer" "^XK" setkey
"other_window" "^XO" setkey
"exit_jed" "^X^C" setkey
"find_file" "^X^F" setkey
"write_buffer" "^X^S" setkey
"transpose_lines" "^X^T" setkey
"write_buffer" "^X^W" setkey
; On the IBM PC, the ^@ is an extended key like all the arrow keys. The
; default Jed bindings enable all these keys including the ^@. See source
; for details.
"_IBMPC" defined?
{"set_mark_cmd" "^@^C" setkey}
{"set_mark_cmd" "^@" setkey}
else