Counter-strafe
A counter-strafe is a quick tap of the opposite movement key that stops the player instantly and restores the weapon's accuracy right before a shot.
In CS2 a weapon is accurate only when the player is nearly still: on the run, bullets fly with heavy spread. If you just let go of the key, the character keeps sliding for a moment. A counter-strafe removes that slide: moving left on A, you tap D (or the other way round), your speed drops to zero almost at once, and the first bullet goes where the crosshair is.
All shooting on the move is built on this. A proper peek is a strafe out, a counter-strafe and a shot, after which the player moves again. The shorter the stop, the less time you spend as a standing target. The tap has to be short: hold the key too long and the character speeds up in the other direction, and the accuracy is gone again.
Counter-strafing is a skill the game wants done by hand. In August 2024 Valve banned input automation on official servers: keyboard features that cancel the opposite key press for you, and null binds that do the same. Binds with several actions are ignored, and hardware-assisted counter-strafing gets a player kicked from the match.
“You're shooting while moving, that's why you miss. Step out, counter-strafe, shoot, get back.”