What does Ctrl+K do?

In macOS Sonoma, Ctrl+K means: Delete everything from cursor to the end of the line.

Where this shortcut applies

What does Ctrl+K do?
AppPlatformWhat it does
macOS SonomamacOSDelete everything from cursor to the end of the line
Ubuntu Linux 24.04 LTSLinuxDelete everything from cursor to end of line
ChromeOS Flex / StableChromeOSDelete all text from the cursor to the end of the line
Google ChromeApp contextType a search query directly in the address bar
GmailApp contextInsert a hyperlink into the message body
NotionApp contextOpen the Quick Find bar to search pages or navigate anywhere
NotionApp contextAdd a hyperlink to selected text
SlackApp contextOpen Quick Switcher to jump to any channel, DM, or workspace
Adobe Premiere ProApp contextCut all tracks at the playhead position
Microsoft PowerPointApp contextOpen the Insert Hyperlink dialog
Google DocsApp contextOpen the Insert Link dialog
Microsoft OutlookApp contextResolve email addresses in the To/CC fields
Adobe After EffectsApp contextOpen settings for the current composition
CursorApp contextOpen the inline AI edit bar to modify selected code with a prompt
DiscordApp contextOpen the Quick Switcher to jump to any server, channel, or DM
ObsidianApp contextOpen the link dialog to create a [[wikilink]] to another note
Google SlidesApp contextAdd a hyperlink to selected text
LinearApp contextOpen the command palette for any Linear action

Full shortcut pages

Frequently asked questions

What does Ctrl+K do?
In macOS Sonoma, Ctrl+K means: Delete everything from cursor to the end of the line.
Does this shortcut work the same way in every app?
No. The listed contexts include macOS Sonoma, Ubuntu Linux 24.04 LTS, ChromeOS Flex / Stable, Google Chrome, Gmail, Notion, Slack, Adobe Premiere Pro, Microsoft PowerPoint, Google Docs, Microsoft Outlook, Adobe After Effects, Cursor, Discord, Obsidian, Google Slides, Linear. Check the table for each application and platform: the active window, keyboard layout and application settings determine which command receives the key press. An application being available on an operating system is not evidence that this exact binding works there.
What should I use on a Mac?
Use a macOS binding shown in the table, if one is recorded for your task and application. This page does not assume that replacing Ctrl with Cmd produces a working Mac shortcut. When an equivalent has not been documented, open the linked application reference and check its documented context before relying on it.