# HG changeset patch # User Oleksandr Gavenko # Date 1485545334 -7200 # Node ID 787318562f0a192890660ae3a2cec05a3acd37d0 # Parent 93700ab0e4918049a42a6cd4f178d9d948dbde84 I end with using Apps key as super. diff -r 93700ab0e491 -r 787318562f0a .emacs-my --- a/.emacs-my Fri Jan 27 19:51:50 2017 +0200 +++ b/.emacs-my Fri Jan 27 21:28:54 2017 +0200 @@ -307,9 +307,10 @@ ;; To remap CapsLock to ScrollLock: ;; Windows Registry Editor Version 5.00 ;; [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] -;; "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,46,00,3a,00,00,00,00,00 -(when (eq system-type 'nt) - (setq w32-scroll-lock-modifier 'super)) +;; ; CapsLock (3a,00) => LWin (5b,e0); LWin (5b,e0) => Apps (5d,e0) +;; "Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,5b,e0,3a,00,5d,e0,5b,e0,00,00,00,00 +(when (eq window-system 'w32) + (setq w32-apps-modifier 'super)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (message "package, elpa")