Skip to content

Commit abbe47f

Browse files
committed
Fixed some keybindings not using command instead of control in macos
Fixes #289
1 parent 577860c commit abbe47f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/kotlin/com/jetpackduba/gitnuro/keybindings/Keybinding.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ private fun macKeybindings(): Map<KeybindingOption, List<Keybinding>> {
166166

167167
macBindings.apply {
168168
val keysToReplaceControlWithCommand = listOf(
169+
KeybindingOption.TEXT_ACCEPT,
169170
KeybindingOption.REFRESH,
170171
KeybindingOption.PULL,
171172
KeybindingOption.PUSH,
@@ -175,6 +176,9 @@ private fun macKeybindings(): Map<KeybindingOption, List<Keybinding>> {
175176
KeybindingOption.OPEN_REPOSITORY,
176177
KeybindingOption.OPEN_NEW_TAB,
177178
KeybindingOption.CLOSE_CURRENT_TAB,
179+
KeybindingOption.CHANGE_CURRENT_TAB_RIGHT,
180+
KeybindingOption.CHANGE_CURRENT_TAB_LEFT,
181+
KeybindingOption.SETTINGS,
178182
)
179183

180184
for (key in keysToReplaceControlWithCommand) {

0 commit comments

Comments
 (0)