aviskase

Home About Archive RSS

New keyboard layout habits for Emacs

published2025-08-03
reading time2 mins
categoriesit

The first thing a newbie Emacs user learns is that it’s recommended to switch CapsLock to Ctrl. Great idea, except I was using it to switch keyboard layouts (Russian <-> English).

I explored some options:

There was also a question of Compose key which was mapped to AltGr. And don’t forget the need for an occasional use of the real CapsLock.

While I liked an idea of using Space and potentially getting used to keyboards which might have dedicated thumb keys for modifier, the setup was slightly more annoing and even more so if I ever need to use Windows. Thus, I settled on this:

By the way, there is a setting in GNOME Tweaks to enable Emacs input to override default shortcuts. Here is a guide on how to enable it and fix other programs. You should also be aware of potential problems with select all and copy to clipboard shortcuts. I haven’t turned on this setting yet, but it’s a nice option to have.