I now use Colemak (https://colemak.com/) which doesn't have this issue and I'm quite happy with!
I now use Colemak (https://colemak.com/) which doesn't have this issue and I'm quite happy with!
In the end I use a Ergodox keyboard that switches the layout to QWERTY if you hold down the control key, works flawlessly and haven't had to deal with it since.
Moreover, the variant of Dvorak that I use is much more shell-friendly than any QWERTY layout.
While for the alphabet and for the punctuation signs that are used in natural languages I use a layout closer to the initial Dvorak layout from 1932 than to the modern Dvorak layout, for the other non-alphanumeric symbols I have made a few changes that I consider best for typing shell commands or other kinds of programs.
The pre-WWII Dvorak layout does not say anything about most non-alphanumeric symbols and there are no suitable standards for them (i.e. any standards than are based on rational criteria, not on preserving a random historical layout), so anyone who wants an optimal keyboard for programming or work with a command-line interface should design a custom layout for the non-alphanumeric symbols, according to taste and experience.
(I mean, to each their own, I use dvorak because other layouts hurt my hands, but I would presume there are better non-shell-friendly examples -- but interestingly, I couldn't readily find them since `mv` is also just the right hand, unlike its qwerty friend)
I have "alias hh='ls -l'" in my .zshrc.
(keyboard-translate ?\C-c ?\C-n)
(keyboard-translate ?\C-h ?\C-c) (keyboard-translate ?\C-x ?\C-t)
(keyboard-translate ?\C-t ?\C-x)
Along with a quick function to make sure I don't forget :) (global-set-key
(kbd "C-t")
(lambda ()
(interactive)
(run-with-timer
0.3 nil
(lambda ()
;; Assuming these are the default values
(setq visible-bell nil)
(setq ring-bell-function 'ignore)))
(setq visible-bell t)
(setq ring-bell-function nil)
(error "Don't press that button.")))
[0]: https://github.com/codemac/config/blob/master/emacs.d/boot.o...