Emacs矩形操作
原始矩形块模式
C-x r r 复制一个矩形区域到寄存器
C-x r k 剪切一个矩形块
C-x r y 粘贴一个矩形块 C-x r o 插入一个矩形块 C-x r c 清除一个矩形块(使其变成空白) C-x r t 在选定区域的所有列前插入样的字符 |
Rect-Mark
(global-set-key (kbd "C-x r C-SPC") ‘rm-set-mark) (global-set-key (kbd "C-x r C-x") ‘rm-exchange-point-and-mark) (global-set-key (kbd "C-x r C-w") ‘rm-kill-region) (global-set-key (kbd "C-x r M-w") ‘rm-kill-ring-save) (autoload ‘rm-set-mark "rect-mark" "Set mark for rectangle." t) (autoload ‘rm-exchange-point-and-mark "rect-mark" "Exchange point and mark for rectangle." t) (autoload ‘rm-kill-region "rect-mark" "Kill a rectangular region and save it in the kill ring." t) (autoload ‘rm-kill-ring-save "rect-mark" "Copy a rectangular region to the kill ring." t)
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。