|
From: | Jean Louis |
Subject: | Re: Which modifier to use? |
Date: | Sat, 5 Dec 2020 15:59:49 +0300 |
User-agent: | Mutt/2.0 (3d08634) (2020-11-07) |
* Stefan Möding <s.moeding@gmail.com> [2020-12-05 15:26]: > I’m using a keybinding to switch to a new keymap which has many additional > commands (Sorry for not being able to give credit for the original code): > > ;; launch command keymap > (define-prefix-command 'stm-launcher-map) > > (global-set-key (kbd "s-z") 'stm-launcher-map) Thank you. This is good and useful tip. Then I could do s-z for new map and get plethora of other keys. I did not know it works that way nicely. > (define-key stm-launcher-map (kbd "=") #'ipcalc-at-point) > (define-key stm-launcher-map (kbd "#") #'generate-password) > (define-key stm-launcher-map (kbd "c") #'calendar) > (define-key stm-launcher-map (kbd "d") #'ediff-buffers) > (define-key stm-launcher-map (kbd "g") #'lgrep) > (define-key stm-launcher-map (kbd "m") #'man) > (define-key stm-launcher-map (kbd "n") #'gnus)
[Prev in Thread] | Current Thread | [Next in Thread] |