FG
💻 Software

Delete whitespace left and right in Notepad++

Fresh5 days ago
Mar 15, 202641873 views
Confidence Score0%
0%

Problem

In Notepad++, is there a hotkey to wipe all white space left and right of the cursor? I'd imagine it would be the same as "delete current word", but I can't find it. Ctrl + Del deletes to the end of the word Ctrl + Backspace deletes to the beginning of the word

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Delete whitespace left and right in Notepad++

Low Risk

There is no shortcut by default, but you can easily add one using the shortcut mapper. The action to remove leading and trailing space is found in Edit > Blank operations > Remove leading and trailing space You can map it by going to Settings > Shor…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment