Skip to content

Commit b099a09

Browse files
committed
Add new shortcut for opening file-browser
1 parent 3cd4224 commit b099a09

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

docs/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ Provided shortcuts include (note that `❌` or `❓` indicates that the shortcut
8686
| `_FIND_REPLACE ` | Find and replace shortcut | ⭐ | ⭐ | ⭐ |
8787
| `_HOME` | Home key (shortcut in mac) | ⭐ | ⭐ | ⭐ |
8888
| `_END` | End key (shortcut in mac) | ⭐ | ⭐ | ⭐ |
89+
| `_FILES` | Open file browser | ⭐ | ⭐ | ⭐ |
8990
| `_POWER` | Power shortcut | ⭐ | ❌ | ⭐ |
9091
| `_SLEEP` | Sleep shortcut | ⭐ | ❌ | ⭐ |
9192
| `_LOCK` | Lock shortcut | ⭐ | ⭐ | ⭐ |

include/zmk-keymap-utils/shortcuts.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#define _W LA
2121
#define _HOME _C(LEFT)
2222
#define _END _C(RIGHT)
23+
#define _FILES LS(LA(M))
2324
#define _EMOJI LG(LC(SPACE))
2425
#else
2526
#define _C LC
@@ -30,6 +31,7 @@
3031
#define _W _C
3132
#define _HOME HOME
3233
#define _END END
34+
#define _FILES LG(E)
3335
#define _EMOJI LG(DOT)
3436
#endif
3537
#define _SLEEP C_SLEEP

0 commit comments

Comments
 (0)