Questions tagged [modifier-key]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
37 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 ...
  • 113
0 votes
1 answer
21 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 ...
1 vote
1 answer
44 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 ...
  • 113
1 vote
1 answer
111 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 ...
  • 111
1 vote
1 answer
60 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&...
  • 2,159
0 votes
2 answers
41 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
1 answer
206 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 ...
  • 115
0 votes
0 answers
18 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 ...
  • 501
0 votes
1 answer
865 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 ...
0 votes
1 answer
146 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 ...
  • 133
1 vote
1 answer
52 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 ...
  • 133
1 vote
1 answer
997 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? ...
  • 184
1 vote
1 answer
205 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 ...
1 vote
3 answers
111 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&...
  • 957
2 votes
2 answers
496 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-...
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 ...
2 votes
2 answers
271 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") ...
  • 31
1 vote
1 answer
147 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 ...