New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to set control_L+hjkl to Left/Down/Up/Right? #78
Comments
You will have to wait till #16 is fixed. |
@withshe, I've hard coded the arrows as cc: @talha131 |
@watsoncj, if I wanted to change your setup to l_cntrl+hjkl, how would I do that? I tried going from source but I couldn't get a successful 'MAKE' command to run. Any suggestions? |
@chinchin96 Complex modifications are supported in latest beta (since 0.91.3 or so). Here is example of
|
@MyDogTom, you're the man! Thank you for this. Was able to get everything remapped for ^hjkl. Do you happen to know if the functionality for replicated scrolling with D/D+S/D+S+F + HJKL is available? I wasn't able to find documentation around this (or your mapping file that you provided). I know things are still a work in progress so let me know if that's the case. Thanks again!1 |
@chinchin96, how does the scrolling work with this keybinding? Just curious :) @MyDogTom, any way to set key repeat for the hjkl binding? So holding hyper+hjkl will send repeating arrow commands. |
@chinchin96 Sorry, I don't know. You can check https://github.com/tekezo/Karabiner-Elements/tree/master/examples for more "inspiration". @itainoam Repeated commands while holding initial combination works perfectly for me. I'm mapping {
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"rules": [
{
"manipulators": [
{
"description": "caps_lock + h -> backspace",
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": []
}
],
"type": "basic"
},
{
"description": "caps_lock + u -> home",
"from": {
"key_code": "u",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "home",
"modifiers": []
}
],
"type": "basic"
},
{
"description": "caps_lock + o -> end",
"from": {
"key_code": "o",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "end",
"modifiers": []
}
],
"type": "basic"
},
{
"description": "caps_lock + i -> up_arrow.",
"from": {
"key_code": "i",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": []
}
],
"type": "basic"
},
{
"description": "caps_lock + j -> left_arrow.",
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": []
}
],
"type": "basic"
},
{
"description": "caps_lock + l -> right_arrow.",
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": []
}
],
"type": "basic"
},
{
"description": "caps_lock + k -> down_arrow.",
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"fn"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "down_arrow",
"modifiers": []
}
],
"type": "basic"
}
]
}
]
},
"devices": [],
"fn_function_keys": {
"f1": "display_brightness_decrement",
"f10": "mute",
"f11": "volume_decrement",
"f12": "volume_increment",
"f2": "display_brightness_increment",
"f3": "mission_control",
"f4": "launchpad",
"f5": "illumination_decrement",
"f6": "illumination_increment",
"f7": "rewind",
"f8": "play_or_pause",
"f9": "fastforward"
},
"name": "Default profile",
"selected": true,
"simple_modifications": {
"caps_lock": "fn"
},
"virtual_hid_keyboard": {
"caps_lock_delay_milliseconds": 0,
"keyboard_type": "iso"
}
}
]
} |
Thanks @MyDogTom! |
another big thanks to @MyDogTom ! I've copied the example you posted above and swapped out the fn for left_control. this gives me the layout i'm used to with my pok3r mech keyboard which is a great relief. because I'm new to this (and OSX), i must ask, will i miss out on any default left_control functionality by assigning these properties? I'll include my karabiner.json file for reference.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I can not write a json config file by myself, please give me a sample, Thanks!
The text was updated successfully, but these errors were encountered: