# HG changeset patch # User Oleksandr Gavenko # Date 1612348369 -7200 # Node ID 35c96420cf547d21bb0ea1ed8a6c3062d9965429 # Parent 6533fa2834cf1059fb2a104cb8b286700b39aca1 Reserved s-= for my-calc-line (to avoid excessive typing of M-x my-calc-line). er/expand-region is now s-w to be near C-w/M-w. diff -r 6533fa2834cf -r 35c96420cf54 .emacs-my --- a/.emacs-my Sun Jan 31 20:35:05 2021 +0200 +++ b/.emacs-my Wed Feb 03 12:32:49 2021 +0200 @@ -944,7 +944,7 @@ (setq x-select-enable-clipboard t)) (when (fboundp 'er/expand-region) - (global-set-key (kbd "s-=") 'er/expand-region)) + (global-set-key (kbd "s-w") 'er/expand-region)) (defun my-mark-line () "Mark current line." @@ -1664,6 +1664,8 @@ (insert ?\ )) (insert result))))) +(global-set-key (kbd "s-=") #'my-calc-line) + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (message "rst, reStructuredText")