[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Which modifier to use?
From: |
Stefan Möding |
Subject: |
Re: Which modifier to use? |
Date: |
Sat, 05 Dec 2020 13:25:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) |
Jean Louis <bugs@gnu.support> writes:
> I have too many keys on Hyper modifier and need a keys for many
> functions. Emacs is mostly not modal and I am not using viper mode,
> but as modal it would offer me quick access to key bindings such as:
> - / a
> - / s
> Maybe CapsLk can be used as modifier or prefix key?
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 "C-x l") 'stm-launcher-map)
(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)
I can press "C-x l n" to open Gnus from everywhere.
Is this what you want?
--
Stefan
Re: Which modifier to use?,
Stefan Möding <=
Re: Which modifier to use?, Arthur Miller, 2020/12/05
Re: Which modifier to use?, Marcin Borkowski, 2020/12/06
Re: Which modifier to use?, Michael Heerdegen, 2020/12/06