Text based timer vim plugin heaviliy inspired by Efforless.
- Demo powered by rhysd/vim.wasm.
- Please access from desktop Chrome, Firefox, Safari or Chromium based browsers
- vim-plug
Plug 'liquidz/vim-textimer'
-
Open
*.textimerfile- e.g.
$ vim your_project.textimer
- e.g.
-
Write text something like:
First Task 30- the last word
30means30 minutes - vim-textimer will start timer by
- CursorHoldI auto command.
- depends on updatetime option.
- Type
<CR><CR>in normal mode, and open textimer menu. :TextimerStartcommand.
- CursorHoldI auto command.
- the last word
- If
g:textimer#started_commandis defined, specified command will be executed.
-
When timer is finished, vim-textimer echos the message.
- If
g:textimer#finished_commandis defined, specified command will be executed.- e.g. To notify on macOS
- If
let g:textimer#finished_command = 'osascript'
let g:textimer#finished_exec = '%c -e "display notification \"textimer\" with title \"%s\""'
Copyright (c) 2019-2020 Iizuka Masashi
Distributed under the MIT License.
