lib/textbringer/keymap.rb in textbringer-0.1.0 vs lib/textbringer/keymap.rb in textbringer-0.1.1
- old
+ new
@@ -119,9 +119,10 @@
GLOBAL_MAP.define_key("\e:", :eval_expression)
GLOBAL_MAP.define_key(?\C-u, :universal_argument)
GLOBAL_MAP.define_key(?\C-g, :keyboard_quit)
GLOBAL_MAP.define_key(?\C-s, :isearch_forward)
GLOBAL_MAP.define_key(?\C-r, :isearch_backward)
+ GLOBAL_MAP.define_key("\e!", :shell_execute)
GLOBAL_MAP.handle_undefined_key do |key|
if key.is_a?(Integer) && key > 0x80
begin
key.chr(Encoding::UTF_8)
:self_insert