Sorting a glossary
Sort a glossary. Glossary head contains a header phrase ending with ':' and glossary body has multi line text indented with a tab.
Start file
zomg: Multiline description about zomg. abc: Multiline description about abc.
End file
abc: Multiline description about abc. zomg: Multiline description about zomg.
View Diff
2,5d1 < zomg: < Multiline description < about zomg. < 8a5,8 > > zomg: > Multiline description > about zomg.
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock 80 remaining solutions by signing in and submitting your own entry