Questions tagged [modifier-key]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
40 views

Using both `event-apply-meta-modifier` and `event-apply-super-modifier` for the same shortcut

I use the commands event-apply-meta-modifier and event-apply-super-modifier to have keys I can tap that apply the meta and super modifier to the next typed shortcut. But when I first apply the meta ...
Alexander Praehauser's user avatar
0 votes
1 answer
108 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 ...
user129393192's user avatar
1 vote
1 answer
112 views

lowercase `s` as prefix in `describe-bindings`

[MacOS, running 28.2 from emacsformacos.com] When I do describe-bindings I see that the "Global Bindings" includes a bunch of bindings with the prefix s - not S for "Shift". What ...
davidbak's user avatar
  • 113
0 votes
1 answer
127 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 ...
Alexander Praehauser's user avatar
1 vote
1 answer
221 views

Can I fix Right Alt in console mode without needing to be root?

I am using MobaXterm on Windows 10 to access a remote Linux machine running RHEL 7.5, but this is generally applicable to Emacs (same things happen with PuTTY, for example). My connection is weak and ...
Ajean's user avatar
  • 113
2 votes
1 answer
255 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 ...
Nika's user avatar
  • 121
1 vote
1 answer
97 views

How to bind C-S-m and avoid S-RET?

I am trying to rebind kmacro-start-macro and kmacro-end-macro to C-m and C-S-m. But I am having some issues because of C-m being equivalent to RET, the ASCII control character "carriage return&...
nephewtom's user avatar
  • 2,261
0 votes
2 answers
85 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 ...
Sapient Fridge's user avatar
0 votes
1 answer
506 views

How to just use macOS's command key?

Can one use macOS's Command Key (⌘) as a separate modifier key from ctrl and meta? My specific question is, is it possible to use ⌘+Q to quit emacs without altering the existing keybindings? I have ...
Ryo's user avatar
  • 135
0 votes
0 answers
20 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 ...
Andrew's user avatar
  • 561
1 vote
1 answer
1k views

What is Emacs' "Hyper?" key?

QMK defines Hyper as Ctrl+Shift+Alt+GUI. XFCE4 is treating my Left super as Hyper, which also happens to be the key that was configured as Hyper in xmodmap when the shortcut was defined. Emacs doesn't ...
precompute's user avatar
0 votes
1 answer
195 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 ...
Daphne Preston-Kendal's user avatar
1 vote
1 answer
55 views

Understanding emacs keys

I'm vim user and I've just started using emacs with evil. But one thing I'm finding really hard to understand is when do we use <C-x>, <M-x> etc. I want to understand when to use Control ...
TheChetan's user avatar
  • 143
1 vote
1 answer
1k 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? ...
dualism's user avatar
  • 304
1 vote
1 answer
275 views

Forward, backward etc sexp not working

I want to use the forward-sexp function in Emacs, which on my Spacemacs for Mac is bound to C-M-f. Similarly for the backward-sexp. However, upon pressing C- for Control, and then the Meta key, which ...
zendevil.eth's user avatar
1 vote
3 answers
182 views

Super-s: How to express it? Is some escaping needed in the syntax?

This code binds "Super-c" to lambda: (global-set-key (kbd "s-c") (lambda () (interactive) (jump-to-register 'q))) How can I bind Super-s? They are both denoted as "s&...
user4035's user avatar
  • 1,059
3 votes
2 answers
547 views

How to interpret the org-mode-map key binding?

From the docs https://org-roam.readthedocs.io/en/master/ecosystem/, org-mode-map has binding for s-Y (use-package org-download :after org :bind (:map org-mode-map (("s-Y" . org-...
john323423's user avatar
0 votes
0 answers
25 views

Meta+Shift-Return in iTerm2 on Mac not working [duplicate]

Have you met the case that Emacs in iterm2 on Mac does not recognize M-S-RET (Meta(Option)+Shift+ Return key)? I guess it's related to the modifier key conversions in terminals. M-S-RET is used in ...
jing chen's user avatar
2 votes
2 answers
301 views

Is there a way to use CTRL and SUPER key modifiers together in a key binding?

I would like to be able to use CTRL and SUPER key modifiers together in a key binding. Since I'm on Mac OSX I use Command key for SUPER modifier. I tried this: (global-set-key (kbd "C-s-i") ...
Daut's user avatar
  • 31
1 vote
1 answer
157 views

Capital A Meaning in Emacs Syntax?

I'm familiar with M being the modifier key in Emacs syntax but I'm reading the instructions for a package and it is telling me to prepend the modifier with A. A-M-n I've tried a few different things ...
Philip Kirkbride's user avatar