Questions tagged [keyboard-layout]
55 questions
11
votes
1 answer
Using function keys as "sticky" modifier keys
Is there a way to use a function key (like ) as a sort of super-key-down event and then have the next keystroke (f.ex. s) then be interpeted as s-s? In other words, this will be similar to sticky modifier keys, but just for emacs, not the os…

Var87
- 331
- 1
- 7
8
votes
1 answer
How to preserve emacs key bindings when changing keyboard layout?
Imagine that you change your keyboard layout. You have to spend time training your muscles to find the keys that you want to type, this is already hard enough.
But you will also have to spend time training your muscles to find the keys that you want…

T. Verron
- 4,233
- 1
- 22
- 55
5
votes
1 answer
How to use the Insert key to toggle `overwrite-mode` when using a PC keyboard in OS X?
By default, when using a PC keyboard attached to a Mac, OS X treats presses of the Insert key as presses of the Help key that appears on the extended Mac keyboard.
How do I map that keypress to have the same result in GNU Emacs that it does when…

WalterGR
- 203
- 1
- 11
4
votes
3 answers
My left alt key (OS X) does not work as Meta key in Emacs (terminal)
I have an Italian keyboard layout. My left Alt/Option key does not behave as the Meta key in Emacs terminal (OS X), but it behaves as the Meta key in GNU Emacs (GUI) downloaded from https://emacsformacosx.com
How can I get my left Alt/Option key to…

llIIlllIIIlllIIIlliI
- 41
- 1
- 2
4
votes
1 answer
Typing composite characters (e.g. diacritics) in emacs
When running GNU Emacs as a GUI (under Ubuntu), I can't type composite characters with a Spanish keyboard.
For example, to type character á in a Spanish keyboard you first type the ´ key followed by the a key.
So when I fire up Emacs, these kind of…

C2H5OH
- 181
- 7
4
votes
1 answer
Generate dynamic keybindings depending on keyboard layout
This is a bit of an esoteric request so I will try to phrase it clearly.
I am currently beginning to learn colemak and doing so through a series of transitional layouts that go by the group name of tarmak. On top of that, I use evil-mode so the…

Y.Khurshid
- 41
- 1
3
votes
1 answer
How to insert special characters not on a US/UK keyboard?
At work I use a MacMini connected to an italian layout keyboard (please, look at the image)
I've discovered that Emacs doesn't insert the characters @ and # when I use AltGr+ò and AltGr+à, respectively.
Any clue?

Daniele
- 637
- 1
- 5
- 14
3
votes
3 answers
Accessing square bracket in Emacs with German Keyboard on Macbook with OS X
With the Germany keyboard layout you need to press ALT aka M to reach certain character one needs for programming C,C++, Java, JS, etc. For instance to reach square brackets [, ] you need to press M-5 or M-6. But when I press alt-5 (M-5) on my Apple…

Joerg Erdmenger
- 33
- 1
- 4
3
votes
0 answers
Why does Emacs not pick up all of my Mac OSX keyboard layout?
I'm using the custom keyboard layout found at https://www.kaufmann.no/roland/dvorak/macosx.html.
When I use Emacs in gui mode, most keys are fine, but the 10-keys -- which the layout redefines like a telephone keypad -- are not remapped. That is,…

Michael Fox
- 211
- 1
- 4
3
votes
2 answers
Emacs super key modifier on Caps Lock in Windows native and Cygwin emacs-w32
I use super modifier because it is transparent to any keymap (for example there is no need for C-c C-j or C-c C-x o in term terminal mode, any s-... command just works). Under X I use xmodmap.
Under Windows 10 it is hard to use Win key with letters…

gavenkoa
- 3,352
- 19
- 36
2
votes
1 answer
Binding several keys to one yasnippet
Suppose we have a snippet for sql mode:
# -*- mode: snippet -*-
# name: select *
# key: sel
# --
SELECT ${1:*} FROM $2;
Sometimes I forget to switch the keyboard layout and type Russian "ыуд" instead of "sel". I tried this:
# -*- mode: snippet…

user4035
- 1,039
- 11
- 24
2
votes
1 answer
key binding isearch-forward with Greek keyboard
I use Emacs with various languages and have had trouble invoking isearch-forward from a keystroke when my keyboard layout (OS-level) is set to Greek. If I try the usual C-s, it says there is no binding for C-σ (since the 's' key is now the 'σ' key).…

user1951615
- 123
- 2
2
votes
1 answer
Umlauts in Emacs on Mac
Sorry for the newbie question. I have been using Aquamacs more many years. As it is not as actively developed as it used to and became increasingly buggy in the past two years I want to make the switch to Emacs.
I installed Emacs with homebrew and…

totti
- 43
- 4
2
votes
2 answers
US-Intl layout EU users of Emacs in WSL - how do you input those Alt-Gr characters?
I am a user of the US-International keyboard layout and the German language. Somehow Emacs does not allow me to access those Alt-Gr characters for example the German Eszett "ß" and many others:
How do you access those characters in Emacs?
Edit: I'm…

menuhin
- 315
- 2
- 11
2
votes
2 answers
I want to type special Spanish characters in Emacs on a MacBook Pro keyboard ... but I have no clue where to start
I am using Emacs 26.3 with macos Catalina and I would like to type the inverted exclamation point and question mark characters. Can someone point me to a link that will get me started towards understanding how to input special characters not…

pajato0
- 399
- 1
- 8