mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
- Separating xkb types to avoid select-all chrome bug on Super(ctrl)+a
This commit is contained in:
@@ -54,29 +54,20 @@ default partial xkb_symbols "mac_levelssym" {
|
|||||||
// Also maps Option + Cmd + F to Control+H for Replace - Sublime
|
// Also maps Option + Cmd + F to Control+H for Replace - Sublime
|
||||||
// AD03=e,E
|
// AD03=e,E
|
||||||
// AC01=a,A
|
// AC01=a,A
|
||||||
// Ctrl + E - End of Line
|
// Ctrl + A - Beginning of Line
|
||||||
replace key <AC01> {
|
replace key <AC01> {
|
||||||
type[Group1]= "ONE_LEVEL_CTRL",
|
type[Group1]= "ONE_LEVEL_SUPER",
|
||||||
symbols[Group1]= [
|
symbols[Group1]= [
|
||||||
// Base
|
// Base
|
||||||
a,
|
a,
|
||||||
// Shift
|
// Shift
|
||||||
A,
|
A,
|
||||||
// Alt
|
|
||||||
a,
|
|
||||||
// Shift Alt
|
|
||||||
A,
|
|
||||||
// Super
|
// Super
|
||||||
NoSymbol,
|
NoSymbol,
|
||||||
// Shift Super
|
// Shift Super
|
||||||
NoSymbol
|
NoSymbol
|
||||||
|
|
||||||
],
|
],
|
||||||
actions[Group1]= [
|
actions[Group1]= [
|
||||||
NoAction(),
|
|
||||||
NoAction(),
|
|
||||||
NoAction(),
|
|
||||||
NoAction(),
|
|
||||||
NoAction(),
|
NoAction(),
|
||||||
NoAction(),
|
NoAction(),
|
||||||
RedirectKey(key=<HOME>,clearmods=Super),
|
RedirectKey(key=<HOME>,clearmods=Super),
|
||||||
@@ -85,27 +76,18 @@ default partial xkb_symbols "mac_levelssym" {
|
|||||||
};
|
};
|
||||||
// Ctrl + E - End of Line
|
// Ctrl + E - End of Line
|
||||||
replace key <AD03> {
|
replace key <AD03> {
|
||||||
type[Group1]= "ONE_LEVEL_CTRL",
|
type[Group1]= "ONE_LEVEL_SUPER",
|
||||||
symbols[Group1]= [
|
symbols[Group1]= [
|
||||||
// Base
|
// Base
|
||||||
e,
|
e,
|
||||||
// Shift
|
// Shift
|
||||||
E,
|
E,
|
||||||
// Alt
|
|
||||||
e,
|
|
||||||
// Shift Alt
|
|
||||||
E,
|
|
||||||
// Super
|
// Super
|
||||||
NoSymbol,
|
NoSymbol,
|
||||||
// Shift Super
|
// Shift Super
|
||||||
NoSymbol
|
NoSymbol
|
||||||
|
|
||||||
],
|
],
|
||||||
actions[Group1]= [
|
actions[Group1]= [
|
||||||
NoAction(),
|
|
||||||
NoAction(),
|
|
||||||
NoAction(),
|
|
||||||
NoAction(),
|
|
||||||
NoAction(),
|
NoAction(),
|
||||||
NoAction(),
|
NoAction(),
|
||||||
RedirectKey(key=<END>,clearmods=Super),
|
RedirectKey(key=<END>,clearmods=Super),
|
||||||
|
@@ -40,4 +40,14 @@ default partial xkb_types "addmac_levels" {
|
|||||||
level_name[Level5] = "Super";
|
level_name[Level5] = "Super";
|
||||||
level_name[Level6] = "Super Shift";
|
level_name[Level6] = "Super Shift";
|
||||||
};
|
};
|
||||||
|
type "ONE_LEVEL_SUPER" {
|
||||||
|
modifiers = Shift+Super;
|
||||||
|
map[Shift] = Level2;
|
||||||
|
map[Super] = Level3;
|
||||||
|
map[Shift+Super] = Level4;
|
||||||
|
level_name[Level1] = "Base";
|
||||||
|
level_name[Level2] = "Shift";
|
||||||
|
level_name[Level3] = "Super";
|
||||||
|
level_name[Level4] = "Super Shift";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user