Skip to content

Commit

Permalink
Bind M-C-_ to redo_command for compatibility with Emacs 28
Browse files Browse the repository at this point in the history
  • Loading branch information
shugo committed May 23, 2024
1 parent 810f4f5 commit e9c4f00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/textbringer/keymap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ def kbd(key)
GLOBAL_MAP.define_key(?\C-_, :undo)
GLOBAL_MAP.define_key("\C-xu", :undo)
GLOBAL_MAP.define_key("\C-x\C-_", :redo_command)
GLOBAL_MAP.define_key("\M-\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)
Expand Down

0 comments on commit e9c4f00

Please sign in to comment.