Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.07 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.07 KB

gtype.vim

Practice touch typing real code ... your code. Gtype is a Vim plugin that allows you to source a text selection as a Gypist Drill excercice. Once the excercice is finished or cancelled, you get back to your normal untouched Vim session.

Dependencies

  • This plugin depends on GNU Typist(also called gtypist) a free software universal typing tutor
    • on MacOS it can be installed via brew's gtypist formula
  • It requires Vim compiled with the +ruby feature.

Installation

Use pathogene or vundle

Mappings

no keybidings are provided. It is encouraged to define your own keybindings in Visual Mode to call Gytpist function, for example as follows: vmap <Leader>g :call Gtype()<CR>

Usage

select a range and call Gtypist() function from ex, to get a range as an excercice :1,4 call Gtypist()

or run Gtype from ex to get the current line as an excercice