NB! It seems this console command is not compatible with CS2.
Command Profile

CL_VIEWMODEL_SHIFT_RIGHT_AMT

CS:GO

This command sets how much the viewmodel moves to the right when shooting accuracy increases.

Syntax
cl_viewmodel_shift_right_amt [Viewmodel Shift]

Description

This command sets how much the viewmodel moves to the right when shooting accuracy increases.

Syntax And Arguments

cl_viewmodel_shift_right_amt [Viewmodel Shift]
Viewmodel Shift Choose a number between 0.25 and 2 to set how much your viewmodel moves when accuracy increases. The default value for this command is 0.75.