sponsor Vim development Vim logo Vim Book Ad

TortoiseTyping : a minimal typing tutor for touch-typists

 script karma  Rating 12/7, Downloaded by 1072  Comments, bugs, improvements  Vim wiki

created by
Stephen Mann
 
script type
game
 
description
-----------------------------------------------------------

Update August 2, 2012: The latest version of this script is hosted at https://github.com/thanthese/Tortoise-Typing

-----------------------------------------------------------


Contents:
  1. Description
  2. Quick Start
  3. Advanced Options and Features
  4. Licensing
  5. Installation


========================================
1. Description

TortoiseTyping is a minimal typing tutor aimed at touch-typists who would like to spend a few minutes a week sharpening their skills.

This script is called TortoiseTyping because with typing its slow, steady, and accurate wins the race.

Compatible with Vim 7.2 and above.  Requires the Vim was compiled with the python switch, which will be true for almost all modern distributions.


========================================
2. Quick Start

Escape ends the program.

Run the :TutorialTyping command to start the two-minute tutorial.

Run the :TortoiseTyping command to start the program with default settings: "A Christmas Carol" text, shuffled sentence order, and 150 word session.

Run the :FileTyping <filepath> command to start like :TortoiseTyping, but with the file <filepath> of your choice.


========================================
3. Advanced Options and Features

The main screen has a progress bar showing percent completion through text.  (Use the tab key to toggle graphical/fraction representation.)  Below that are words per minute and accuracy statistics.

Main program options:
- filepath: choose source file
- randomize: whether or not to shuffle sentence order
- wordcount: truncates source to wordcount number of words

The main entry point into the program is the python startTyping() function.  The :TortoiseTyping command calls it like this:

  command! TortoiseTyping py startTyping(
    \ filepath="xmasCarol.txt",
    \ randomize=True,
    \ wordCount=150)

Feel free to use combinations of commands, mappings, and functions to customize how the program starts.


========================================
4. Licensing

This work is distributed as is, and I make no guarantee that it won't trash your system.  As always when trying new things, it makes good sense to save what you're working on first.

Feel free to modify and distribute this script in any way, so long as you credit me and send me an email if you do anything cool with it.
 
install details
Unzip tortoiseTyping.zip into ~/.vim/plugin/ and (re)start vim.

This command

  ls ~/.vim/plugin/tortoiseTyping/

should yield this:

  README.txt
  tortoiseTyping.vim
  xmasCarol.txt
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
tortoiseTyping.zip 2.0 2010-05-15 7.0 Stephen Mann Uploaded correct .zip file.  Runs on vim 7.2 and above.
ip used for rating: 18.118.200.86

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github