Questions tagged [keyboard-layout]
The keyboard-layout tag has no usage guidance.
50
questions
0
votes
0
answers
29
views
MacOS right option modifier setting does not work when using Emacs in the terminal
I have a macbook hooked up to an external monitor and use an external keyboard. I've already set it up in the MacOS terminal to use alt (option) keys as Meta in the options menu. So, I would like to ...
0
votes
1
answer
26
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 ...
1
vote
1
answer
24
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 ...
2
votes
1
answer
45
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 "ыуд&...
0
votes
1
answer
45
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 ...
0
votes
0
answers
25
views
Clicking on Emacs changing global keyboard layout
I am using Emacs 27.1 on Ubuntu (currently 21.10), or in more detail,
GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0)
of 2021-01-18, modified by Debian
I work ...
1
vote
0
answers
73
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 ...
0
votes
1
answer
389
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 ...
1
vote
0
answers
63
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 ...
0
votes
1
answer
72
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.
2
votes
1
answer
34
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 ...
1
vote
0
answers
63
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 ...
0
votes
1
answer
186
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 ...
2
votes
1
answer
218
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 ...
2
votes
2
answers
350
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 ...
-1
votes
1
answer
31
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
1
answer
388
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 (...
1
vote
1
answer
52
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
1
answer
136
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
0
answers
45
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.
2
votes
2
answers
186
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 ...
0
votes
1
answer
51
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
1
answer
59
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 ...
0
votes
0
answers
214
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 ...
1
vote
2
answers
151
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 ...
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://...
1
vote
1
answer
242
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
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 (#). ...
0
votes
2
answers
126
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
0
answers
105
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-...
1
vote
0
answers
131
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 ...
2
votes
1
answer
546
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+à, ...
1
vote
1
answer
242
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 ...
4
votes
1
answer
390
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 ...
11
votes
1
answer
796
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 ...
2
votes
1
answer
72
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 ...
3
votes
3
answers
3k
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
1
answer
2k
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.
3
votes
0
answers
171
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
0
answers
244
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 ...
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 ...
2
votes
1
answer
917
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 ...
1
vote
0
answers
217
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 ...
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-...
3
votes
1
answer
225
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 ...
2
votes
2
answers
291
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 ...
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 ...
0
votes
0
answers
106
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 ...
1
vote
1
answer
93
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 ...
8
votes
1
answer
726
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 ...