What does Ctrl+K do?

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

Last verified: Not yet independently verified

Where this shortcut applies

What does Ctrl+K do?
AppPlatformWhat it does
macOS SonomamacOSDelete everything from cursor to the end of the line
Verification pending
Ubuntu Linux 24.04 LTSLinuxDelete everything from cursor to end of line
Verification pending
ChromeOS Flex / StableChromeOSDelete all text from the cursor to the end of the line
Verification pending
Google ChromePlatform not independently verifiedType a search query directly in the address bar
Verification pending
GmailPlatform not independently verifiedInsert a hyperlink into the message body
Verification pending
NotionPlatform not independently verifiedOpen the Quick Find bar to search pages or navigate anywhere
Verification pending
NotionPlatform not independently verifiedAdd a hyperlink to selected text
Verification pending
SlackPlatform not independently verifiedOpen Quick Switcher to jump to any channel, DM, or workspace
Verification pending
Adobe Premiere ProPlatform not independently verifiedCut all tracks at the playhead position
Verification pending
Microsoft PowerPointPlatform not independently verifiedOpen the Insert Hyperlink dialog
Verification pending
Google DocsPlatform not independently verifiedOpen the Insert Link dialog
Verification pending
Microsoft OutlookPlatform not independently verifiedResolve email addresses in the To/CC fields
Verification pending
Adobe After EffectsPlatform not independently verifiedOpen settings for the current composition
Verification pending
CursorPlatform not independently verifiedOpen the inline AI edit bar to modify selected code with a prompt
Verification pending
DiscordPlatform not independently verifiedOpen the Quick Switcher to jump to any server, channel, or DM
Verification pending
ObsidianPlatform not independently verifiedOpen the link dialog to create a [[wikilink]] to another note
Verification pending
Google SlidesPlatform not independently verifiedAdd a hyperlink to selected text
Verification pending
LinearPlatform not independently verifiedOpen the command palette for any Linear action
Verification pending

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 independently verified, open the linked application reference and check its documented context before relying on it.