Questions tagged [modifier-key]
The modifier-key tag has no summary.
21 questions
4 votes
1 answer
136 views
Why the inconsistent behaviour of Shift in keybindings?
Let's say I want to bind C-Z in a keymap like this: (define-key d-emacs-mode-map (kbd "C-Z") #'d-emacs-test) Oh no, now I've rebound the lowercase-variant C-z as well! I guess what I have ...
0 votes
1 answer
191 views
How can I use additional modifiers with terminal Emacs on MacOS?
I currently have (setq ns-function-modifier 'hyper) and it works perfectly fine on my GUI Emacs on MacOS, but it becomes a problem in terminal emacs, where it doesn't recognize the key. I was ...
0 votes
1 answer
273 views
Is there a way to make the left alt key apply a sticky meta modifier?
I'm using vanilla emacs and since I'm using a nonstandard keyboard layout, I've used dual-function-keys to modify the left alt key so it sends left alt if it is tapped and right alt if it is held. I ...
2 votes
1 answer
419 views
How to create/use extra modifier keys or get a similar functionality to modifier keys?
I want C-d to act as a kind of modifier for the <left> and <right> arrow keys in a similar way to how Shift is a modifier that allows letters to be capitalized. Shift Analogy When I press ...
0 votes
2 answers
152 views
Right Control key problem when using Emacs remotely - Emacs thinks it's `C-M-`
I'm doing some remote work using Azure & Bastion to access a customer site. The problem is that in this context, with Emacs, my right Ctrl key doesn't work normally. What it's doing instead is ...
0 votes
0 answers
23 views
How do I set the command key as Super on osX? [duplicate]
I am running the graphical version of Emacs 26.1 on osX, and I have (when (eq system-type 'darwin) (setq ns-command-modifier 'super)) in my init.el. However, when I do e.g. s-t, it brings up the ...
0 votes
1 answer
239 views
Binding option + arrow keys/backspace on Mac OS while still being able to enter special characters
I want to be able to bind ⌥← to move the cursor to the previous word, ⌥→ to the next word, ⌥↓ to scroll down a page etc. in Emacs on Mac OS, as in native text editing controls, but also still be able ...
1 vote
1 answer
2k views
Can I use Right Alt/Ctrl Keys as Alt/Super/Hyper modifier keys of Emacs in Windows 10?
I noticed that I've rarely used Right Control Key and Right Alt Key in my keyboard, so I'm wondering if I can use them as Alt/Super/Hyper modifier key in Emacs. Is such a thing possible in Windows 10? ...