# Cmd+k remappings

**URL:** <https://forum.cursor.com/t/cmd-k-remappings/83471>\
**Category:** Help\
**Created:** [April 24, 2025, 6:50pm UTC](https://forum.cursor.com/t/cmd-k-remappings/83471 "2025-04-24T18:50:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kleosr](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/kleosr/32/115401_2.png) [@kleosr](https://forum.cursor.com/u/kleosr)\
**Post date:** [April 24, 2025, 6:59pm UTC](https://forum.cursor.com/t/cmd-k-remappings/83471/2 "2025-04-24T18:59:47Z")

</div>

Hey there

@ramicaza that must be extremely annoying to be dealing with, try with the options below and see if that solves your situation.

Check this thread about the remapping:

- [Shortcut Conflict Thread](https://forum.cursor.com/t/shortcut-conflict-for-cmd-k-terminal-clear-and-ai-window/22693/7)

This Github issue can be useful too:

- [Cursor Issue #987](https://github.com/getcursor/cursor/issues/987)

Are you using GTK, GNOME, XFCE any Distro in specific?

Workaround:

```auto
[
    {
        "key": "shift+cmd+k",
        "command": "cursorai.action.generateInTerminal",
        "when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
    },
    {
        "key": "cmd+k",
        "command": "workbench.action.terminal.clear",
        "when": "terminalFocus && terminalHasBeenCreated"
    },
    {
        "key": "cmd+k",
        "command": "-cursorai.action.generateInTerminal",
        "when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
    },
    {
        "key": "cmd+k",
        "command": "composer.startComposerPrompt",
        "when": "composerIsEnabled && !terminalFocus"
    },
    {
        "key": "cmd+k",
        "command": "-composer.startComposerPrompt",
        "when": "composerIsEnabled"
    },
    {
        "key": "cmd+i",
        "command": "composerMode.agent"
    }
]

```

---

_[View the full topic](https://forum.cursor.com/t/cmd-k-remappings/83471)._
