Skip to content

liquidz/vim-textimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-textimer

Text based timer vim plugin heaviliy inspired by Efforless.

Screen shot

Try online demo

  • Demo powered by rhysd/vim.wasm.
    • Please access from desktop Chrome, Firefox, Safari or Chromium based browsers

Requirements

  • Vim8.1 with +timer and popup.
    • Neovim is not supported currently.

Installation

  • vim-plug
Plug 'liquidz/vim-textimer'

Usage

  • Open *.textimer file

    • e.g. $ vim your_project.textimer
  • Write text something like:

    • First Task 30
      • the last word 30 means 30 minutes
      • vim-textimer will start timer by
        • CursorHoldI auto command.
        • Type <CR><CR> in normal mode, and open textimer menu.
        • :TextimerStart command.
    • If g:textimer#started_command is defined, specified command will be executed.
  • When timer is finished, vim-textimer echos the message.

    • If g:textimer#finished_command is defined, specified command will be executed.
      • e.g. To notify on macOS
let g:textimer#finished_command = 'osascript'
let g:textimer#finished_exec = '%c -e "display notification \"textimer\" with title \"%s\""'

License

Copyright (c) 2019-2020 Iizuka Masashi

Distributed under the MIT License.

About

Text based timer vim plugin heaviliy inspired by Efforless.

Resources

License

Stars

4 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors