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)
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.
For folks looking to just have Ctrl+l work in their terminal as usual (clear terminal without losing scrollback buffer) while retaining the Ctrl+l functionality for opening up a chat window while coding on a file, you can add the following to your Keyboard Shortcuts (JSON) settings: