Shortcut Conflict for (cmd+K ) Terminal Clear and AI Window

There is a shortcut conflict in the Cursor IDE that prevents the terminal from being cleared using Cmd+K. Instead of clearing the terminal, it opens the AI assistance chat window. This issue disrupts workflow, especially for users accustomed to clearing the terminal frequently.

Environment:

  • IDE: Cursor IDE
  • Operating System: macOS
  • Python environment: pyenv with multiple virtual environments (see attached screenshot for details)

The conflict may stem from the IDE’s predefined shortcut mapping that overrides terminal functions.

Thank you for looking into this issue!

Ctrl-L works in any terminal.

Or redefine your shortcut.

Wow thats super helpful :exploding_head:

Just know, Ctrl+L is not default in macOS

It is for clearing terminal, in any “Unix” as far as I know.

Cursor chat is Cmd-L, of course.

Just a note that CTRL+L clears the visible pane but not the whole scroll-back history as is the case with CMD+K. In a way it’s better if you don’t want to lose your previous commands/output in the terminal.

cursor has both cmd+L and cmd+K bindings for its key chat functionality, which clashes with the terminal clear commands

Terminal is Ctrl-L on a mac (too).