Cannot use CTRL + K

I am on Linux - ZorinOS 17.3 with Ubuntu (jammy)

Checked the key bindings, but CTRL + K does nothing.

How to solve this? Thanks :slight_smile:

Hey, first check your keybindings. Open the command palette in Cursor with Ctrl + Shift + P, type “Preferences: Open Keyboard Shortcuts,” and search for Ctrl + K. Check if you have any overridden bindings.

If everything is okay there, it’s possible that this shortcut is intercepted by one of the extensions. Try starting in safe mode using this command in your terminal: cursor --disable-extensions. Check if this restores functionality.

If it still doesn’t work, there might be a program on your computer that intercepts this shortcut. Try to identify it.

Hey thanks, the keybindings look fine I guess:

image

Also tried cursor --disable-extensions , nothing.

Moving on the troubleshooting if something’s intercepting.

image

Ctrl+Shift+l works for a new chat agent chat, but nothing for the Command K.

What is the editorFocus && !composeBarIsVisible?

is this a problem?

AHHH, found it:

I just moved from windows, been using Pro for a year, is there a keybinding profile that I can import, or do I fix this manually - trying manual.

I think you need to do this manually.

SOLVED

The main culprit was zsh keybindings, following the default ‘Emacs’ scheme, CTRL K cuts (deletes) everything upto the end of the line in shell starting from your cursor position.

I believe macOS users don’t experience this cause of iTerm2 or some terminal emulator and/or the use of cmd to bypass some terminal keybindings.

Anyways,

The solution is to manually exclude CTRL+K (and other conflicting key bindings) in your zsh config:

bindkey -r '^K'

Tried editing the keybindings JSON in from Cursor + disabling/removing conflicting bindings, did not work.

Did this and reinstalled Cursor.

For proper cursor installation on linux please refer to (and checkout comments):

1 Like