Last active
April 21, 2022 10:02
-
-
Save cataska/b1875754128853bfb139 to your computer and use it in GitHub Desktop.
Revisions
-
cataska revised this gist
Aug 31, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,5 +2,5 @@ `(define-key (current-global-map) ,new (lookup-key (current-global-map) ,old))) ;; now "C-x -" equals to "C-x 2" (defkbalias (kbd "C-x 2") (kbd "C-x -")) -
cataska created this gist
Aug 29, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ (defmacro defkbalias (old new) `(define-key (current-global-map) ,new (lookup-key (current-global-map) ,old))) ;; now "C-x -" is equals to "C-x 2" (defkbalias (kbd "C-x 2") (kbd "C-x -"))