PracticalVim Tip100 - yszheda/wiki GitHub Wiki

Table of Contents

Tip 100: Alphabetize the Properties of Each Rule in a CSS File

Return to the top: <>

Example: sort the properties of each rule into alphabetical order in a CSS file using `:sort` command.

References:

Sort Properties for a Single Block of Rules

Sort Properties for Every Block of Rules

_NOTE_: `.` here stands for each line in turn that matches the specified `{pattern}`.

Discussion

Example: indent the properties of each rule in a CSS file.

  • `:>` Ex command

References:

  • mute these messages by prefixing our `[cmd]` with `:silent`:

References:

⚠️ **GitHub.com Fallback** ⚠️