Commit e3f01f30 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(cua--init-rectangles): Install default

binding in cua--rectangle-keymap using cua--self-insert-char-p
to handle all global self inserting characters in rectangle mode.
parent f8b38495
......@@ -1333,6 +1333,10 @@ With prefix arg, indent to that column."
(define-key cua--rectangle-keymap [remap self-insert-command] 'cua-insert-char-rectangle)
(define-key cua--rectangle-keymap [remap self-insert-iso] 'cua-insert-char-rectangle)
;; Catch self-inserting characters which are "stolen" by other modes
(define-key cua--rectangle-keymap [t]
'(menu-item "sic" cua-insert-char-rectangle :filter cua--self-insert-char-p))
(define-key cua--rectangle-keymap "\r" 'cua-rotate-rectangle)
(define-key cua--rectangle-keymap "\t" 'cua-indent-rectangle)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment