help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [offtopic] Re: Ctrl-[ ?


From: Van L
Subject: Re: [offtopic] Re: Ctrl-[ ?
Date: Sat, 15 Jun 2019 19:12:28 +1000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (darwin)

<tomas@tuxteam.de> writes:

> Until you've got a German keyboard layout, where you need yet
> another modifier (AltGr) to reach [, ], \ and |.

Choose the keys comfy for you relative to thumb over modifier key and
finger tips poised to strike like in a DOOM Eternal Deathmatch.

> I'm sure there are multitude of other language-specific keyboard
> layouts sharing that weakness...

Localise the layout.

> But I didn't want to open /that/ can o' worms -- just to raise
> a bit of awareness.

I don't have the luxury of 3 modifier keys right of my spacebar and have
the following experimental layout.  The CAPSLOCK 'on' doesn't function
like holding the SHIFT key down for, for example, '(kbd "H-S-l")'.

--8<---------------cut here---------------start------------->8---
(global-set-key (kbd "H-[") 'recenter-top-bottom)

(global-set-key (kbd "H-p") 'left-char)
(global-set-key (kbd "H-\\") 'right-char)
(global-set-key (kbd "H-C-p") 'move-beginning-of-line)
(global-set-key (kbd "H-C-\\") 'move-end-of-line)

(define-key global-map (kbd "H-l") 'previous-line)
(define-key global-map (kbd "H-.") 'next-line)
(define-key global-map (kbd "H-C-l") 'backward-paragraph)
(define-key global-map (kbd "H-C-.") 'forward-paragraph)

--8<---------------cut here---------------end--------------->8---


-- 
© 2019 VanL
gpg using EEF2 37E9 3840 0D5D 9183  251E 9830 384E 9683 B835
          'The mouth is the dirtiest part on the human body.' - Bill Wallace




reply via email to

[Prev in Thread] Current Thread [Next in Thread]