Cut to line start: the shortcut in both apps
On Mac it is usually Ctrl+U (2 of 2 apps); on Windows it is usually Ctrl+U (2 of 2 apps); on Linux it is usually Ctrl+U (2 of 2 apps). The table shows where each app agrees and where it differs.
| App | Mac | Windows | Linux |
|---|---|---|---|
| BashCut from the cursor to the start of the line | CtrlU | CtrlU | CtrlU |
| Claude CodeDelete to the start of the line | CtrlU | CtrlU | CtrlU |
How the apps compare
- Mac: every app here uses CtrlU.
- Windows: every app here uses CtrlU.
- Linux: every app here uses CtrlU.
Learn it by pressing it: Bash shortcuts practice or Claude Code shortcuts practice.