# # emacs like keybindings for HTML Editor # binding "gtkhtml-bindings-emacs" { bind "Home" { "cursor_move" (up, all) } bind "End" { "cursor_move" (down, 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 "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 "0" { "command" (style-normal) } bind "1" { "command" (style-header1) } bind "2" { "command" (style-header2) } bind "3" { "command" (style-header3) } bind "4" { "command" (style-header4) } bind "5" { "command" (style-header5) } bind "6" { "command" (style-header6) } bind "7" { "command" (style-pre) } bind "8" { "command" (style-address) } bind "1" { "command" (style-itemdot) } bind "2" { "command" (style-itemroman) } bind "3" { "command" (style-itemdigit) } 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 "t" { "command" (insert-table-1-1) } bind "c" { "command" (insert-col-after) } bind "c" { "command" (insert-col-before) } bind "c" { "command" (delete-col) } bind "r" { "command" (insert-row-after) } bind "r" { "command" (insert-row-before) } bind "r" { "command" (delete-row) } bind "b" { "command" (inc-border) } bind "b" { "command" (dec-border) } bind "b" { "command" (zero-border) } } .