emacs-devel
[Top][All Lists]
Advanced

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

Re: dvorak users (was: Emacs Survey: Toolbars)


From: Ricardo Wurmus
Subject: Re: dvorak users (was: Emacs Survey: Toolbars)
Date: Thu, 17 Dec 2020 23:23:33 +0100
User-agent: mu4e 1.4.13; emacs 27.1

andrés ramírez <rrandresf@gmail.com> writes:

> Hi Christopher.
>
>>>>>> "Christopher" == Christopher Dimech <dimech@gmx.com> writes:
>
>
> [...]
>
>
>     Christopher> Particularly for people not using a querty keyboard.  For 
> instance, adapting
>     Christopher> keybindings for use with the Dvorak Keyboard would be a 
> significant improvement.
>
> I think for dvorak users a good tip is remapping C-t to C-x
> --8<---------------cut here---------------start------------->8---
> (defmacro wiki/bind-dvorak-helper (key fn) 
>                     `(global-set-key (kbd ,key) ,(if (listp fn) fn `',fn)))
> (wiki/bind-dvorak-helper "C-t" (lookup-key global-map (kbd "C-x")))
> --8<---------------cut here---------------end--------------->8---

Another global solution is this:

  (define-key key-translation-map [?\C-x] [?\C-t])
  (define-key key-translation-map [?\C-t] [?\C-x])

I’ve been using this for many years.

-- 
Ricardo



reply via email to

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