Skip to content

Commit

Permalink
add alt+tab (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
rux616 authored Mar 3, 2024
1 parent db07d70 commit 4cb4017
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ Generally Excepted Applications:
|-|-|-|-|-|
| / | Ctrl | / | Command | Works in Terminal Emulators. |
| Space | Ctrl | Space | Command | |
| Tab | Alt | Tab | Command | Works in IDEs and Terminal Emulators. |

### Function Keys
| Input Key | Input Modifier(s) | Output Key | Output Modifier(s) | Notes |
Expand All @@ -137,6 +138,7 @@ Generally Excepted Applications:
- [@csmager](https://github.com/csmager) for adding Parallels and JetBrains Rider to list of exceptions
- [@kingamajick](https://github.com/kingamajick) for adding WezTerm and Chrome Remote Desktop (enabling support for file_paths to identify applications) to the list of exceptions
- [@raxigan](https://github.com/raxigan) for simplifying JetBrains IDE listing and adding the Win [Spotlight] shortcut
- [@fab1o](https://github.com/fab1o) for the JSON for Alt+Tab (#14)

## Links
- Karabiner-Elements [(Homepage)](https://pqrs.org/osx/karabiner/) [(GitHub)](https://github.com/tekezo/Karabiner-Elements)
Expand Down
4 changes: 4 additions & 0 deletions jsonnet/windows_shortcuts.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,10 @@ local k = import 'lib/karabiner.libsonnet';
k.input('spacebar', ['control']),
k.outputKey('spacebar', ['command']),
k.condition('unless', bundle.standard, file_paths.standard)),
k.rule('Tab (Alt) [+IDEs and Terminal Emulators]',
k.input('tab', ['option']),
k.outputKey('tab', ['command']),
k.condition('unless', bundle.hypervisors + bundle.remoteDesktops, file_paths.remoteDesktops)),
// Function Keys
k.rule('F1',
k.input('f1'),
Expand Down

0 comments on commit 4cb4017

Please sign in to comment.