mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
- word-wise update for Alt+Left/Right to send cursor to begin/end of word while in GUI apps.
This commit is contained in:
@@ -1,15 +1,15 @@
|
|||||||
default partial xkb_symbols "mac_levelssym" {
|
default partial xkb_symbols "mac_levelssym" {
|
||||||
// LEFT to Begin Line
|
// LEFT to Begin Line or Beginning of word
|
||||||
replace key <LEFT> {
|
replace key <LEFT> {
|
||||||
type[Group1]= "ONE_LEVEL_CTRL",
|
type[Group1]= "ONE_LEVEL_CTRL",
|
||||||
symbols[Group1]= [ Left, Left, NoSymbol ],
|
symbols[Group1]= [ Left, Left, NoSymbol ],
|
||||||
actions[Group1]= [ NoAction(), NoAction(), RedirectKey(key=<HOME>,clearmods=Control)]
|
actions[Group1]= [ NoAction(), RedirectKey(key=<LEFT>,modifiers=Control,clearmods=Mod1), RedirectKey(key=<HOME>,clearmods=Control)]
|
||||||
};
|
};
|
||||||
// Right to End of Line
|
// Right to End of Line or end of word
|
||||||
replace key <RGHT> {
|
replace key <RGHT> {
|
||||||
type[Group1]= "ONE_LEVEL_CTRL",
|
type[Group1]= "ONE_LEVEL_CTRL",
|
||||||
symbols[Group1]= [ Right, Right, NoSymbol ],
|
symbols[Group1]= [ Right, Right, NoSymbol ],
|
||||||
actions[Group1]= [ NoAction(), NoAction(), RedirectKey(key=<END>,clearmods=Control)]
|
actions[Group1]= [ NoAction(), RedirectKey(key=<RGHT>,modifiers=Control,clearmods=Mod1), RedirectKey(key=<END>,clearmods=Control)]
|
||||||
};
|
};
|
||||||
// Up to Mac Home
|
// Up to Mac Home
|
||||||
replace key <UP> {
|
replace key <UP> {
|
||||||
|
@@ -1,20 +1,11 @@
|
|||||||
default partial xkb_types "addmac_levels" {
|
default partial xkb_types "addmac_levels" {
|
||||||
type "ONE_LEVEL_CTRL" {
|
type "ONE_LEVEL_CTRL" {
|
||||||
modifiers= Shift+Control;
|
modifiers= Mod1+Control;
|
||||||
map[Shift]= Level2;
|
map[Mod1]= Level2;
|
||||||
map[Control]= Level3;
|
map[Control]= Level3;
|
||||||
map[Shift+Control]= Level3;
|
map[Mod1+Control]= Level3;
|
||||||
level_name[Level1]= "Base";
|
level_name[Level1]= "Base";
|
||||||
level_name[Level2]= "Caps";
|
level_name[Level2]= "Alt";
|
||||||
level_name[Level3]= "With Control";
|
|
||||||
};
|
|
||||||
type "TWO_LEVEL_CTRL" {
|
|
||||||
modifiers= Shift+Control;
|
|
||||||
map[Shift]= Level2;
|
|
||||||
map[Control]= Level3;
|
|
||||||
map[Shift+Control]= Level3;
|
|
||||||
level_name[Level1]= "Base";
|
|
||||||
level_name[Level2]= "Caps";
|
|
||||||
level_name[Level3]= "With Control";
|
level_name[Level3]= "With Control";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user