lib/textbringer/keymap.rb in textbringer-0.2.5 vs lib/textbringer/keymap.rb in textbringer-0.2.6

- old
+ new

@@ -133,10 +133,11 @@ GLOBAL_MAP.define_key(?\C-_, :undo) GLOBAL_MAP.define_key("\C-x\C-_", :redo_command) GLOBAL_MAP.define_key("\C-t", :transpose_chars) GLOBAL_MAP.define_key("\C-j", :newline) GLOBAL_MAP.define_key("\C-m", :newline) + GLOBAL_MAP.define_key("\C-o", :open_line) GLOBAL_MAP.define_key("\em", :back_to_indentation) GLOBAL_MAP.define_key("\e^", :delete_indentation) GLOBAL_MAP.define_key("\C-l", :recenter) GLOBAL_MAP.define_key("\C-v", :scroll_up) GLOBAL_MAP.define_key(:npage, :scroll_up) @@ -178,9 +179,10 @@ GLOBAL_MAP.define_key("\C-x(", :start_keyboard_macro) GLOBAL_MAP.define_key(:f3, :start_keyboard_macro) GLOBAL_MAP.define_key("\C-x)", :end_keyboard_macro) GLOBAL_MAP.define_key("\C-xe", :end_and_call_keyboard_macro) GLOBAL_MAP.define_key(:f4, :end_or_call_keyboard_macro) + GLOBAL_MAP.define_key("\eq", :fill_paragraph) GLOBAL_MAP.define_key([:f1, "b"], :describe_bindings) GLOBAL_MAP.define_key([:f1, "f"], :describe_command) GLOBAL_MAP.define_key([:f1, "k"], :describe_key) GLOBAL_MAP.handle_undefined_key do |key| if key.is_a?(String) && /[\0-\x7f]/ !~ key