Make Terminal.app left Option work as Meta key, while right Option not? #3810
Unanswered
mailinglists35
asked this question in
Q&A
Replies: 2 comments
-
Does this work for you? {
"description": "Left ⌥ to ⌃",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_option"
},
"to": [
{
"key_code": "left_control"
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"^com.apple.Terminal$"
]
}
]
}
]
} (With karabiner.ts: |
Beta Was this translation helpful? Give feedback.
0 replies
-
meanwhile I have discovered that the option/meta setting is per Terminal profile, so I duplicated the favorite profile and on one profile I have the setting checked and on the other the setting unchecked. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My local language particular keyboard gets some keys via Option+{some letters}. However in Terminal I can do this only by unchecking "Use Option as Meta key". But unchecking that takes away my ability to type Option-d in shell which deletes one word to the right of the cursor. Is there a way I can have both? For example:
How do I set up Karabiner for the macOS Terminal app particularly so that the left option key works as the Meta key and the right option key works as the option key?
So that in effect when I press left option + D it produces meta+D (which deletes a character to the right in readline) and when I press right option + D it produces what the input source keyboard has configured, for example, a strikethrough D.
Is this even possible? If not possible per app, can this be setup user/system wide?
Meta-D is the only use case I have for meta key in Terminal (Alt-D on Windows)
Beta Was this translation helpful? Give feedback.
All reactions