vimNormal mode commands


Syntax

  • :[range]sor[t][!] [b][f][i][n][o][r][u][x] [/{pattern}/]

  • Note: Options [n][f][x][o][b] are mutually exclusive.

Remarks

See sorting in the vim manual for the canonical explanation