mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/reline] Support GNOME style Home/End key sequences [Bug #16510]
788f0df845
This commit is contained in:
parent
d142b37bdc
commit
5d124a3b68
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ class Reline::ANSI
|
|||
[27, 91, 52, 126] => :ed_move_to_end, # End
|
||||
[27, 91, 72] => :ed_move_to_beg, # Home
|
||||
[27, 91, 70] => :ed_move_to_end, # End
|
||||
[27, 79, 72] => :ed_move_to_beg, # Home
|
||||
[27, 79, 70] => :ed_move_to_end, # End
|
||||
[27, 32] => :em_set_mark, # M-<space>
|
||||
[24, 24] => :em_exchange_mark, # C-x C-x TODO also add Windows
|
||||
[27, 91, 49, 59, 53, 67] => :em_next_word, # Ctrl+→
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue