Questions tagged [keyboard-layout]

The tag has no usage guidance.

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

How can I use Canadian CSA keyboard layout in Emacs on Windows WSL

Following the questions How to use a certain keyboard layout from emacs as Ubuntu keyboard layout and How to add a new keyboard layout to Emacs input methods? I need help for a concrete example - I ...
Rareform's user avatar
  • 199
0 votes
0 answers
39 views

use of AltGr key

I’m using Emacs with a Bépo keyboard (which is specialized for the French langage and code). I’ve never had the problem before (either with Linux or Windows) but now on my last install (with WSL: ...
embrouille's user avatar
0 votes
1 answer
76 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
0 votes
0 answers
49 views

Mapping Command key to Control key not working for mac

I am trying to map Command key to Control key, and Option key to Meta key in Emacs for mac. I installed using macports. I located the init file using describe-variable and user-init-file. I copied ...
Van Latimer's user avatar
0 votes
1 answer
32 views

Diacritic marks in emacs for macOS

I've run in a problem when I wanted to use diacritic marks (ąęśćłóżź) in the emacs for mac. Usually, to get them I use the right option key ⌥ along with the character I want to enter (⌥+aesclozx ...
user1146081's user avatar
0 votes
2 answers
123 views

Changing the keyboard layout to nordic?

I am a fairly new user of Emacs, which I could be my offline installation of LaTeX instead of using Overleaf. I wanted the same keyboard layout that I use on that site, which is the same as my Mac ...
JonasDenmark's user avatar
1 vote
1 answer
75 views

How to use a certain keyboard layout from emacs as Ubuntu keyboard layout

Good day, I would like to use a certain keyboard layout outside of emacs, namely french-keyboard yet unfortunately I am not able to locate the definition of the keyboard layout. My question is as ...
Rareform's user avatar
  • 199
2 votes
1 answer
77 views

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 "ыуд&...
user4035's user avatar
  • 1,059
1 vote
1 answer
182 views

How to access symbols in emacs, which are accessed normally by alt key

I tried my best to find a solution to my problem in internet. I gave up looking. I am trying learning emacs on a mac. There are symbols I normally type by using the alt key. However in emacs I do not ...
Phaernos's user avatar
1 vote
0 answers
164 views

How can I show (e.g in the mode-line) the current keyboard layout?

Linux Mint 20.2 Emacs 27.2 I have two Keyboard Layouts: US, RU. Example of input text on 2 languages: Is it possible, in mode-line to print current keyboard layout? E.g. US. The ideal to show ...
a_subscriber's user avatar
  • 3,884
0 votes
1 answer
1k views

Change emacs keyboard layout

I have a UK keyboard and this is setup and functioning on Ubuntu 21.04 with all of my apps. When I open emacs inside a terminal using emacs -nw it also correctly used the gb keyboard layout. However ...
Muff2n's user avatar
  • 11
1 vote
0 answers
148 views

Cedilla (ç) not being mapped correctly only on Emacs, how do I map it correctly? And why is this happening?

I've been using the US International keyboard layout for typing the cedilla character (ç) — and other Portuguese characters; and other bizarro other accidental ones — for a while, and it works on ...
Philippe Fanaro's user avatar
0 votes
1 answer
139 views

What is the keycode of C-TAB?

iTerm does not send ctrl+tab itself, so I need to configure it myself. I can't figure it what key code ctrl+tab is though.
HappyFace's user avatar
  • 771
2 votes
1 answer
44 views

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 ...
user1951615's user avatar
1 vote
0 answers
77 views

Dvorak input mode wrong letters when typing fast, correct, when typing slow

I have dvorak keyboard layout set as input when I am in evil-input mode. However, when I type relatively fast when typing the I get thd. This is just an example, some other "typos" occur as ...
denis631's user avatar
1 vote
1 answer
315 views

How can I get holding down the spacebar to work as expected

When I am editing text, if I press and release the spacebar it works as expected. However, if I hold down the spacebar I get the following message in the echo area. <Hangul> is undefined I saw ...
Dargscisyhp's user avatar
2 votes
1 answer
378 views

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 ...
totti's user avatar
  • 43
3 votes
2 answers
572 views

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 ...
menuhin's user avatar
  • 325
-1 votes
1 answer
36 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 ...
Tony Martin's user avatar
1 vote
1 answer
656 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 (...
anon2328's user avatar
1 vote
1 answer
76 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 ...
Joe's user avatar
  • 541
1 vote
1 answer
153 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
1 vote
0 answers
47 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.
wds's user avatar
  • 11
2 votes
2 answers
327 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 ...
pajato0's user avatar
  • 399
0 votes
1 answer
60 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 ...
aaa's user avatar
  • 426
0 votes
1 answer
95 views

How do I revert to the English keyboard after switching to Devanagari?

I do this to switch to a Hindi keyboard:- C-x RET C-\ [TAB] and then I choose : devanagari-inscript My query is : How do I switch back to an English keyboard? I can see options for english-dvorak ...
user2338823's user avatar
0 votes
0 answers
272 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 ...
j.karlsson's user avatar
1 vote
2 answers
181 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 ...
feklee's user avatar
  • 1,039
4 votes
3 answers
4k 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://...
llIIlllIIIlllIIIlliI's user avatar
1 vote
1 answer
303 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 ...
giulio bullsaver's user avatar
1 vote
0 answers
42 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 (#). ...
edlee's user avatar
  • 111
0 votes
2 answers
158 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 ...
fairflow's user avatar
  • 101
0 votes
0 answers
119 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-...
João Pedro's user avatar
1 vote
0 answers
164 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 ...
Dmitri's user avatar
  • 173
3 votes
1 answer
667 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+à, ...
Daniele's user avatar
  • 637
1 vote
1 answer
290 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 ...
unhammer's user avatar
  • 1,127
4 votes
1 answer
440 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 ...
C2H5OH's user avatar
  • 181
11 votes
1 answer
941 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 ...
Var87's user avatar
  • 331
2 votes
1 answer
78 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 ...
aksci's user avatar
  • 21
3 votes
3 answers
4k 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 ...
Joerg Erdmenger's user avatar
2 votes
1 answer
3k 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.
explaw's user avatar
  • 25
3 votes
0 answers
192 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 ...
Michael Fox's user avatar
2 votes
0 answers
283 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 ...
Adam's user avatar
  • 2,417
3 votes
2 answers
2k 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 ...
gavenkoa's user avatar
  • 3,352
2 votes
1 answer
1k 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 ...
ppr's user avatar
  • 145
1 vote
0 answers
261 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 ...
xav's user avatar
  • 225
2 votes
1 answer
2k 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-...
user2824903's user avatar
4 votes
1 answer
247 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 ...
Y.Khurshid's user avatar
2 votes
2 answers
358 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 ...
atevm's user avatar
  • 938
5 votes
1 answer
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 ...
WalterGR's user avatar
  • 203