Questions tagged [keyboard-layout]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
10
votes
1answer
561 views

Using function keys as “sticky” modifier keys

Is there a way to use a function key (like <f8>) 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 ...
7
votes
1answer
545 views

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 ...
4
votes
1answer
264 views

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 ...
4
votes
1answer
2k views

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 ...
3
votes
0answers
147 views

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 ...
2
votes
3answers
2k views

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 ...
2
votes
2answers
1k views

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 ...
2
votes
1answer
80 views

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 ...
2
votes
3answers
3k views

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://...
2
votes
1answer
1k views

How to remap the meta key on Linux?

How can I make an alternative keyboard key (e.g. the Windows key) act as the meta key in emacs? I am looking for a solution internal to emacs, so using xmodmap is out of the question.
2
votes
1answer
565 views

Open several files in a specifc layout with a shortcut

I would like to open in emacs, with a shortcut/bookmark three files in this configuration: _____________ | | B | | A |___| | | C | |_______|___| A is my main editing file, B is for ...
2
votes
2answers
163 views

Names of all the keymaps for multilanguage remapping purposes

How do I extract the names for all of the keymaps in Emacs? I use English layout for programming. However I sometimes have to use a Hungarian layout, and I want preserve my keybindings in a ...
2
votes
1answer
356 views

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+à, ...
2
votes
1answer
65 views

any 'binding-change-hook'?

Is there any hook that runs every time a keyboard binding is created/added? Here's my problem: I use dvorak and also another layout(some exotic utf8 script) both at system level. And I've got used ...
2
votes
1answer
175 views

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 ...
1
vote
1answer
86 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 ...
1
vote
1answer
1k views

M-< and M-> don't appear to work

I am running emacs on Windows. I've been using the right alt key as my meta key for just about everything and it works except for M-< and M-> When I attempt M-< I get a message in the mini-...
1
vote
2answers
103 views

German input method: missing ' (single quote)

I am typing with a German ISO keyboard that I've set to US English in X: setxkbmap -layout us -model pc102 For entering German characters in Emacs, I do: (set-input-method 'german) Some special ...
1
vote
1answer
35 views

How does one type <C-menu> or <next> on a keyboard (in Emacs)?

I recently came across these two keybindings in someone else's config and haven't seen them before. I have a US qwerty keyboard, a Kinesis Freestyle Pro. I know where the control, C, key is, and I see ...
1
vote
1answer
148 views

Keyboard layout changed but I don't know why

Sometimes, when I type quickly I do something that change the keyboard layout: the key that would produce < now produces |. Problem is that I don't know how I cause that and how to undo that! If I ...
1
vote
1answer
187 views

Use xcape-like Control_L=Escape only in Emacs evil insert-mode?

I like the idea of xcape for exiting insert-mode by just quickly tapping Control_L, but I don't like how it leaves "unconsumed" escapes around in other modes, or in other programs/terminals, which ...
1
vote
0answers
40 views

Using 122 key keyboards with Emacs [closed]

Does using a 122-key keyboard make it easier to use Emacs, in relation to having more keys to bind commands to? I am thinking of the various models on offer from Unicomp specifically.
1
vote
0answers
37 views

ALT as my modifier key stops me using a pound sign [duplicate]

I've just switched to Spacemacs (Evil mode), as it is time to change things up, having used Sublime Text for years. I have a British Mac keyboard which relies on ALT + 3 to output the pound sign (#). ...
1
vote
0answers
90 views

Dynamically change cursor color to indicate input script

I'd like to use the cursor color to provide visual feedback on the alphabet I am currently in (I sometimes have to switch rapidly between, say, Latin and Cyrillic, and find myself typing in the wrong ...
1
vote
0answers
180 views

Key bindings are not recognized with non-Latin keyboard layouts on Ubuntu

A lot of times I have to change the input language of the keyboard (from English to a different one) causing the problem of the Emacs commands to not be recognized. Normally when you press Ctrl+A you ...
1
vote
0answers
167 views

How to setup keyboard for Normal mode in Evil [dvorak user]?

I am using a dvorak keyboard and Evil Mode. I would like to keep the qwerty keys while in Normal mode. And wonder if there is a more efficient way than remapping everything. I found this post that ...
1
vote
1answer
73 views

How to map CJK input to english alphabet for purposes of key bindings and evil?

When I type in a CJK language, I would still like to be able to use emacs key bindings such as M-x, as well as vi keys in evil-mode normal-state. Is there a way to make emacs register the keyboard ...
0
votes
1answer
45 views

In MacOS, is there any way to have native Mac layout for ‘option-something’ special symbols in quoted-insert?

With quoted-insert (C-q) I can enter ‘Option-something’ extended characters, but Emacs apparently understands them as ISO 8859-1. Meanwhile, MacOS has its own layout for these characters (changed with ...
0
votes
2answers
109 views

Fix org-mode agenda viewing of stuck projects with UK keyboard #

So this is a bit specialised. I've used org-mode for a while now but never before the agenda command to list a "stuck project". The sequence built in to do this with org-agenda is C-c a #. This ...
0
votes
0answers
3 views

US-International keyboard layout EU users on Emacs - 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 ...
0
votes
1answer
15 views

Keyboard map in X version of Emacs not respecting system map

When I use emacs -nw in the terminal, it respects my keyboard map, but when I use the X version, I get a completely different map. I would expect that my X keyboard mapping would be respected as it ...
0
votes
0answers
33 views

dvorak and korean language input in emacs

i recently switched from qwerty to dvorak. i also need to type in korean, and i use nabi to input korean everywhere outside of emacs. thankfully, nabi has support for dvorak. unfortunately it doesn't ...
0
votes
0answers
40 views

Bind Meta key to Command on Mac Without Altering its System-wide Behaviour

To switch between tasks on an unaltered MacOS Mojave (OS X 10.14.6), one uses command-tab, which is convenient when done with the thumb finger. Now, in order to turn on the meta key inside Terminal (...
0
votes
0answers
45 views

Emacs LISP keyboard bindings with OSX and iMac keyboard?

Does anyone know how to change Mac OSX keybindings quickly for use with Emacs? I'm hoping to redefine at least the following keys: iMac KB Key -> Keycode on MacOSX CAPS LOCK -> ...
0
votes
0answers
104 views

How can I press a key combination including CTRL and ALT_GR on a Swedish keyboard?

I am running Emacs (26.1 - build 1, x86_64-w64-mingw32) on Windows 10 and I cannot type any key combination including CTRL and ALT_GR on my swedish keyboard. I stumbled on this when I tried to use ...
0
votes
0answers
88 views

Can't customize xah-fly-keys

I've read the documentation about customizing but I think my knowledge of Lisp is limiting things a bit. I want to bind a in command mode to move-beginning-of-line and QWERTY q (Dvorak) to move-end-of-...
0
votes
0answers
91 views

SOLVED Emacs + Dvorak: C-c C-k bug

If you type C-c C-k (to abort a capture process, for example), you get a C-c C-v instead. It's like for this particular shortcut combo, Emacs interprets the hard key codes instead of the Dvorak layout ...