Skip to content
/ tiktok Public

TikTok provides a simple asynchronous timer object for VimL.

Notifications You must be signed in to change notification settings

dahu/tiktok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TikTok

Vim on the clock, but the party don’t stop

TikTok provides a simple asynchronous timer object for VimL.

  • tiktok#timer() returns a timer object with methods:

    • register — adds FUNCTION to list of responders to tick callback

    • enable — enables FUNCTION again if it was disabled

    • disable — disables FUNCTION from responding to tick callback

    • start — enables timer to respond to tick callbacks

    • stop — disables timer

    • toggle — switch an enabled timer to disabled and vice versa

    • tick — callback from tickler. Runs all enabled registered functions.

About

TikTok provides a simple asynchronous timer object for VimL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published