rux616 / karabiner-windows-mode

Karabiner-Elements complex ruleset to make using macOS friendlier by enabling common keyboard functionality used in Linux and Windows.
The Unlicense
311 stars 66 forks source link

Add Ctrl+l for location in web browsers #77

Closed edance closed 4 months ago

edance commented 1 year ago

Ctrl+l selects the location bar in web browsers and is very helpful for navigating.

Pulled from "Windows-ify Key Mappings on Mac OS".

Additionally add browser support for brave browser and safari

github-actions[bot] commented 4 months ago

Summary of JSON file changes this PR will cause:

 json/windows_shortcuts.json | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Detailed diffs:

json/windows_shortcuts.json ```diff diff --git a/json/windows_shortcuts.json b/json/windows_shortcuts.json index aa68aed..67def39 100644 --- a/json/windows_shortcuts.json +++ b/json/windows_shortcuts.json @@ -1357,6 +1357,46 @@ } ] }, + { + "description": "L (Ctrl) [Only Web Browsers]", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.google\\.chrome$", + "^com\\.google\\.Chrome$", + "^org\\.mozilla\\.firefox$", + "^org\\.mozilla\\.nightly$", + "^com\\.brave\\.Browser$", + "^com\\.apple\\.Safari$" + ], + "type": "frontmost_application_if" + } + ], + "from": { + "key_code": "l", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "l", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, { "description": "L (Win) [Lock Screen]", "manipulators": [ ```