#
# xemacs like keybindings for HTML Editor (FIXME, Myth could you walk thru and change it?)
#
binding "gtkhtml-bindings-xemacs"
{
bind "Home" { "cursor_move" (left, all) }
bind "End" { "cursor_move" (right, all) }
bind "less" { "cursor_move" (up, all) }
bind "greater" { "cursor_move" (down, all) }
bind "a" { "cursor_move" (left, all) }
bind "e" { "cursor_move" (right, all) }
bind "b" { "cursor_move" (left, one) }
bind "f" { "cursor_move" (right, one) }
bind "b" { "cursor_move" (left, word) }
bind "f" { "cursor_move" (right, word) }
bind "p" { "cursor_move" (up, one) }
bind "n" { "cursor_move" (down, one) }
bind "v" { "cursor_move" (up, page) }
bind "v" { "cursor_move" (down, page) }
bind "Up" { "command" (selection-move-up) }
bind "Down" { "command" (selection-move-down) }
bind "Left" { "command" (selection-move-left) }
bind "Right" { "command" (selection-move-right) }
bind "Left" { "command" (selection-move-prev-word) }
bind "Right" { "command" (selection-move-next-word) }
bind "Left" { "command" (selection-move-prev-word) }
bind "Right" { "command" (selection-move-next-word) }
bind "Home" { "command" (selection-move-bol) }
bind "End" { "command" (selection-move-eol) }
bind "Page_Up" { "command" (selection-move-pageup) }
bind "KP_Page_Up" { "command" (selection-move-pageup) }
bind "Page_Down" { "command" (selection-move-pagedown) }
bind "KP_Page_Down" { "command" (selection-move-pagedown) }
bind "Home" { "command" (selection-move-bod) }
bind "End" { "command" (selection-move-eod) }
bind "Insert" { "command" (copy) }
bind "KP_Insert" { "command" (copy) }
bind "Delete" { "command" (cut) }
bind "KP_Delete" { "command" (cut) }
bind "Insert" { "command" (paste) }
bind "KP_Insert" { "command" (paste) }
bind "d" { "command" (delete) }
bind "g" { "command" (disable-selection) }
bind "m" { "command" (insert-paragraph) }
bind "j" { "command" (insert-paragraph) }
bind "w" { "command" (cut) }
bind "w" { "command" (copy-and-disable-selection) }
bind "y" { "command" (paste) }
bind "k" { "command" (cut-line) }
bind "slash" { "command" (undo) }
bind "b" { "command" (bold-toggle) }
bind "i" { "command" (italic-toggle) }
bind "u" { "command" (underline-toggle) }
bind "s" { "command" (strikeout-toggle) }
bind "l" { "command" (align-left) }
bind "c" { "command" (align-center) }
bind "r" { "command" (align-right) }
bind "Tab" { "command" (insert-tab-or-next-cell) }
bind "ISO_Left_Tab" { "command" (insert-tab-or-next-cell) }
bind "Tab" { "command" (indent-more) }
bind "ISO_Left_Tab" { "command" (indent-more) }
bind "Tab" { "command" (indent-less) }
bind "ISO_Left_Tab" { "command" (indent-less) }
bind "Tab" { "command" (indent-less-or-prev-cell) }
bind "ISO_Left_Tab" { "command" (indent-less-or-prev-cell) }
bind "1" { "command" (size-minus-2) }
bind "2" { "command" (size-minus-1) }
bind "3" { "command" (size-plus-0) }
bind "4" { "command" (size-plus-1) }
bind "5" { "command" (size-plus-2) }
bind "6" { "command" (size-plus-3) }
bind "7" { "command" (size-plus-4) }
bind "c" { "command" (capitalize-word) }
bind "l" { "command" (downcase-word) }
bind "u" { "command" (upcase-word) }
bind "s" { "command" (spell-suggest) }
bind "p" { "command" (spell-personal-add) }
bind "n" { "command" (spell-session-add) }
bind "r" { "command" (insert-rule) }
bind "s" { "command" (isearch-forward) }
bind "r" { "command" (isearch-backward) }
bind "space" { "command" (popup-menu) }
bind "Return" { "command" (property-dialog) }
bind "KP_Enter" { "command" (property-dialog) }
bind "q" { "command" (indent-paragraph) }
bind "d" { "command" (kill-word) }
bind "BackSpace" { "command" (backward-kill-word) }
bind "o" { "command" (text-color-apply) }
bind "F12" { "command" (redo) }
bind "F14" { "command" (undo) }
bind "F16" { "command" (copy) }
bind "F18" { "command" (paste) }
bind "F20" { "command" (cut) }
# no bindings for these right now
# bind "F11" { "command" (stop) }
# bind "F13" { "command" (props) }
# bind "F17" { "command" (open) }
# bind "F15" { "command" (front) }
# bind "F19" { "command" (find) }
}