Learn Vim by competing with others!
-
To start the "join lines" competition from the project folder:
./tutor.sh compete archive/join_lines
Which opens
join_lines/tasks.mdandjoin_lines/answers.mdin Vim diff mode, after showing a preamble. You can quickly toggle the highlighting of diverging lines withdomapping in normal mode. However, when it is on, you hardly leave the competition prematurely if not intentionally. After saving the results and closing Vim, the score appears on the screen.
-
Take up creating your own challenge with a stencil:
./tutor.sh stencil -a lukoshkin -p fancy_name archive/fancy_name
This creates a proper folder structure of files you need to fill. The specified options above add entries about the author and the problem name to
tasks.mdfile (as well as toanswers.mdand README.md). Anytime a user starts your competition, they will appear in its preamble.One can overwrite "global" rules with their own by creating
rules.vimfile in the directory with the problem. In stencil this is taken into account by appending-ror--rulesoption.
Currently, the score is calculated using the formula:
- Scoring system
- More detailed README
- bash/zsh completions
- Leaderboard
- Useful tips


