legionus / kbd

Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git
https://kbd-project.org
Other
85 stars 40 forks source link

us.map maps Right Alt to AltGr and Shift+Tab to Alt+Tab. #36

Closed crocket closed 4 years ago

crocket commented 4 years ago

For now, I use my own keymap that inherits us.map and linux-with-two-alt-keys and maps Alt+Tab to Alt+Tab and Shift+Tab to Shift+Tab

include "us.map"
include "linux-with-two-alt-keys"

alt keycode 15 = Meta_Tab
shift keycode 15 = F26
string F26 = "\033[Z"

I propose mapping Right Alt to Alt and Shift+Tab to Esc[Z and Alt+Tab to Meta_Tab in us.map or a (modern) variant of us.map. Perhaps, it could be named us-english.map.

legionus commented 4 years ago

The us.map is quite old keymap. It exists in this form for a very long time. I don’t use it, but I’m sure that it has users. I would not want to change it.

crocket commented 4 years ago

My suggestion was to add a new map with modifications.

legionus commented 4 years ago

ok. I will add it as us1.

legionus commented 4 years ago

https://github.com/legionus/kbd/blob/master/data/keymaps/i386/qwerty/us1.map