All Projects → mnick → Vim Pomodoro

mnick / Vim Pomodoro

Vim plugin for the Pomodoro time management technique

Labels

Projects that are alternatives of or similar to Vim Pomodoro

Archidroid Legacy
Legacy ArchiDroid Repo / New -> https://github.com/ArchiDroid/ArchiDroid
Stars: ✭ 68 (-13.92%)
Mutual labels:  viml
Vim Neatstatus
Neat Status Line Plugin for Vim
Stars: ✭ 72 (-8.86%)
Mutual labels:  viml
Skybison
Vim plugin to expedite use of cmdline commands
Stars: ✭ 74 (-6.33%)
Mutual labels:  viml
Vimmate
Custom vim like Textmate for Ruby on Rails development
Stars: ✭ 70 (-11.39%)
Mutual labels:  viml
Underscore.vim
Vim script utility library 💓 The sky is the limit!
Stars: ✭ 72 (-8.86%)
Mutual labels:  viml
Vimconf
Personal vim conf and plugins for Mac and Linux.
Stars: ✭ 73 (-7.59%)
Mutual labels:  viml
Xvim
Powerfull vim configuration for C/C++/GO/JS coder(好用的vim插件集成包,支持C/C++/GO/JS)
Stars: ✭ 65 (-17.72%)
Mutual labels:  viml
Conoline.vim
Highlights the line of the cursor only in the current window.
Stars: ✭ 79 (+0%)
Mutual labels:  viml
Rainbow
Rainbow Parentheses Improved
Stars: ✭ 72 (-8.86%)
Mutual labels:  viml
Vim Latex
Mirror of vim-latex as Sourceforge's git support blows chunks!
Stars: ✭ 73 (-7.59%)
Mutual labels:  viml
Vim Spotifysearch
Search spotify in Vim and play songs.
Stars: ✭ 71 (-10.13%)
Mutual labels:  viml
Vim Git Branch Info
A Vim script to return info about the Git branches.
Stars: ✭ 71 (-10.13%)
Mutual labels:  viml
Moonscript Vim
MoonScript support for vim
Stars: ✭ 73 (-7.59%)
Mutual labels:  viml
Bringing Vim To The People
An lo, on the fourth day he did step down from the mountain, and with him VIM did follow . . . .
Stars: ✭ 69 (-12.66%)
Mutual labels:  viml
Intero.nvim
Haskell+Neovim lightning fast autocompletion and other IDE functionality
Stars: ✭ 76 (-3.8%)
Mutual labels:  viml
Vim Scmdiff
Vim script to highlight lines changed from a base version in SCM
Stars: ✭ 65 (-17.72%)
Mutual labels:  viml
Dotvim
DEFUNCT, *no longer used* ; My Vim setup, using vundle
Stars: ✭ 72 (-8.86%)
Mutual labels:  viml
Vim Plugin Viewdoc
Vim plugin: flexible viewer for any documentation
Stars: ✭ 79 (+0%)
Mutual labels:  viml
Cmake.vim
🔨 CMake functionality within Vim.
Stars: ✭ 76 (-3.8%)
Mutual labels:  viml
L9
Vim-script library
Stars: ✭ 73 (-7.59%)
Mutual labels:  viml

vim-pomodoro

vim-pomodoro is a Vim plugin for the Pomodoro time management technique.

Usage

The usage of vim-pomodoro is simple. :PomodoroStart [pomodoro_name] starts a new pomodoro. The parameter pomodoro_name is optional. After a pomodoro has ended, a confirmation dialog will remind you to take a break. When the break has ended, another dialog will ask you if you want to start a new pomodoro. Furthermore, the remaining time of a pomodoro can be displayed in the statusline of vim.

If you do not want vim-pomodoro to use popup windows but text dialogs inside Vim, add set guioptions+=c to your ~/.gvimrc. Please note that this will globally disable popup notification windows in Vim.

Also, in addition to the default notifications inside vim, vim-pomodoro allows you to add further external notifications, such as sounds, system-notification popups etc.

Screenshots

Remaining time displayed in statusline

Remaining Time

Pomodoro finished, let's take a break!

Pomodoro Finished

Take another turn?

Pomodoro Restart

Configuration

Add the following options to your ~/.vimrc to configure vim-pomodoro

" Duration of a pomodoro in minutes (default: 25)
let g:pomodoro_time_work = 25

" Duration of a break in minutes (default: 5)
let g:pomodoro_time_slack = 5 

" Log completed pomodoros, 0 = False, 1 = True (default: 0)
let g:pomodoro_do_log = 0 

" Path to the pomodoro log file (default: /tmp/pomodoro.log)
let g:pomodoro_log_file = "/tmp/pomodoro.log" 

To display the remaining time of a pomodoro in your statusline, add

set statusline=%#ErrorMsg#%{PomodoroStatus()}%#StatusLine# 

to your ~/.vimrc

Bells and Whistles

Notifications outside vim can be enabled through the option g:pomodoro_notification_cmd. For instance, to play a soundfile after each completed pomodoro or break, add something like

let g:pomodoro_notification_cmd = "mpg123 -q ~/.vim/pomodoro-notification.mp3"

to your ~/.vimrc. System-wide notifications can, for instance, be done via zenity and the option

let g:pomodoro_notification_cmd = 'zenity --notification --text="Pomodoro finished"''

Installation

vim-pomodoro requires AsyncCommand to be installed. The recommended installation method for both plugins is via Vundle. Add

Bundle 'pydave/AsyncCommand'
Bundle 'mnick/vim-pomodoro'

to your ~/.vimrc and run BundleInstall afterwards. If you don't want to use Vundle, first install AsyncCommand and simply extract the tarfile in your ~/.vim directory afterwards.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].