Juan on Programming: Emacs keymaps - prefix keys



SO: globally overrider bindings by using a minor-mode map



Meta and Super



Can you have EVERYTHING/Anything as a modifier key? - includes lines on binding the windows key (if you have a windows key)


Stack Overflow: setting up windows to use Hyper and Super


; setting the PC keyboard's various keys to Super or Hyper
(setq w32-pass-lwindow-to-system nil
      w32-pass-rwindow-to-system nil
      w32-pass-apps-to-system nil
      w32-lwindow-modifier 'super ;; Left Windows key
      w32-rwindow-modifier 'super ;; Right Windows key
      w32-apps-modifier 'hyper) ;; Menu key

(defun super-test ()
  (message "Super"))

(defun hyper-test ()
  (message "Hyper"))

(global-set-key [(super h)] 'super-test)
(global-set-key [(hyper h)] 'hyper-test)



Emacs-keys for other applications



XKeymacs -- emacs-like bindings for ALL windows apps


tricky to get used to, if you’re used to mentally switching between Emacs and other modes already. And have a lot of program-specific bindings stuck in your head -- like Fire Fox?: C-t new tab, C-k web-search, C-space Ubiquity, etc.


But, you can go into XKeymacs and delete certain key-sequences for specific applications (such as the above. That’s nice.


Now, what I’d _really_ like, is the ability to rebind keystrokes to app-commands! Probably difficult, if not impossible to do outside of the app, right? hrm....





see others

Firefox keybindings



Stack Overflow: what is the best way to avoid getting emacs-pink? - and discussion of various solutions.


SOMEWHERE, I saw somebody say that yoga was the best help they had found. Don’t recall where....



Swap Caps Lock and Ctrl keys - includes some variations, and MS software t do it for you


see notes that suggest it can be done for a single-user only. hrm. should probably use this at work....


also see Registry


Other swappings


AutoHotKeys script
NOTE: On Win7 running in Administrator mode excludes this app; logging into/out of the computer will avoid this app. Which, on a work-machine, is a lot more co-worker/IT friendly. At a previous job, IT would come to do updates, and not be able to log in since, as I had swapped via the registry for all-users, the Ctrl-key wasn’t working....


AutoHotKey has a lot more potential beyond swapping these keys.



See Also





Emacs Keybindings Productivity



No comments yet.



Add Comment

 Your Message
 Enter value ← Have you entered the code number?