Method: RubyCurses::TextView#map_keys
- Defined in:
- lib/rbcurse/core/widgets/rtextview.rb
#map_keys ⇒ Object
87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/rbcurse/core/widgets/rtextview.rb', line 87 def map_keys require 'rbcurse/core/include/listbindings' bindings() #bind_key([?\C-x, ?\C-s], :saveas) #bind_key([?\C-x, ?e], :edit_external) bind_key(32, 'scroll forward'){ scroll_forward() } # have placedhere so multi-bufer can override BS to prev buffer bind_keys([KEY_BACKSPACE,KEY_BSPACE,KEY_DELETE], :cursor_backward) #bind_key(?r) { getstr("Enter a word: ") } if $log.debug? #bind_key(?m, :disp_menu) if $log.debug? end |