Updated: 11/12/2023 by Computer Hope
Ctrl+Alt+B keyboard shortcut

Ctrl+Alt+B or Alt+Ctrl+B is a keyboard shortcut most commonly used to select text contained in a code block in Notepad++. Below are other programs that use this keyboard shortcut and related information.

How to use the Ctrl+Alt+B keyboard shortcut

To use this keyboard shortcut, press and hold either Ctrl and Alt key, and while continuing to hold, press the B key.

Ctrl+Alt+B in Notepad++

In Notepad++, pressing Ctrl+Alt+B selects all text within a code block.


For this keyboard shortcut to work the text cursor must be positioned after the opening curly bracket.

Below are links to related keyboard shortcuts and individual key pages.

Keyboard shortcut, Keyboard terms