• Stars
    star
    14
  • Rank 1,438,076 (Top 29 %)
  • Language
    Vim Script
  • Created about 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ… Vim plugin for the Pomodoro time management technique

Vim-pomodoro ๐Ÿ…

vim-pomodoro is a Vim plugin for the Pomodoro time management technique. This is a fork that mitigate some issues with the original plugin.

It requires Vim 8/Neovim.

This implementation use the new Vim 8/Neovim timers.

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.

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 Vim 8/Neovim.

The recommended installation method for this plugin is via vim-plug:

Plug 'adelarsq/vim-pomodoro'

You can also use Vundle:

Bundle 'adelarsq/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.

More Repositories

1

neoline.vim

Status Line for Neovim focused on beauty and performance โœ…๐Ÿ–ค๐Ÿ’™๐Ÿ’›
Lua
189
star
2

fsharp-cheatsheet

An updated cheat sheet for F# ๐Ÿ”ท๐Ÿ–ค๐Ÿ’™๐Ÿ’›
183
star
3

vim-emoji-icon-theme

Emoji/Unicode Icons Theme for Vim and Neovim with support for 40+ plugins and 380+ filetypes ๐ŸŽจ๐Ÿ–ค๐Ÿ’™๐Ÿ’›
Vim Script
77
star
4

vim-matchit

vim-matchit ๐Ÿ–‡๐Ÿ–ค๐Ÿ’™๐Ÿ’›
Vim Script
54
star
5

image_preview.nvim

Image Preview for Neovim ๐Ÿ–ผ
Lua
44
star
6

fsharp_vids

Video collection about F# ๐Ÿ”ท๐ŸŽž๏ธ
38
star
7

neofsharp.vim

Basic F# support for (Neo)Vim ๐Ÿ”ท
Vim Script
34
star
8

awesome-fsharp-project-templates

Awesome F# Project Templates ๐Ÿ”ท๐Ÿ–ค๐Ÿ’™๐Ÿ’›
19
star
9

neovcs.vim

VCS support for Neovim ๐ŸŒฑ
Vim Script
18
star
10

hotchocolate_fsharp_sample

GraphQL server using .NET 6, F# and Hot Chocolate ๐Ÿซ
18
star
11

vim-hackernews

Hacker News plugin for Vim ๐Ÿ“ฐ๐Ÿ–ค๐Ÿ’™๐Ÿ’›
Python
17
star
12

falco_graphql_sample

Falco GraphQL Sample ๐Ÿฃ๐Ÿ–ค๐Ÿ’™๐Ÿ’›
F#
14
star
13

awesome-fable-react-native

An awesome list about to use Fable with ReactNative ๐Ÿงšโ€โ™€๏ธ
11
star
14

eclipse-gotofile-plugin-kai

๐ŸŒ• Modified version from Muermann's Goto File plugin
Java
11
star
15

vim-grimmjow

๐ŸŒด Vim theme
Vim Script
9
star
16

suave_graphql_sample

Suave GraphQL Sample
F#
8
star
17

awesome-bugs

Awesome Bugs ๐Ÿ›
6
star
18

Vim-Autoclose

โœ’๏ธ Inserts matching bracket, paren, brace or quote
Vim Script
6
star
19

lightlang

General purpose programming language made for peace ๐Ÿ–ค๐Ÿ’™๐Ÿ’›
5
star
20

awesome-fsharp-pt

Uma lista com conteรบdos sobre F# em Lรญngua Portuguesa
4
star
21

vim-tetris

Tetris para Vim
Vim Script
3
star
22

nerdtree-terminal

nerdtree plugin terminal support
Vim Script
2
star
23

dbunit

๐Ÿ DBUnit
Java
2
star
24

Sublime-Theme-Black-Sidebar-Icons

๐Ÿซ A black theme for sidebar from Sublime with icons.
2
star
25

lsp_installer

Lua
1
star
26

adelarsq.github.io

Adelar's Home Page
1
star
27

jms-demo-play-2.1

๐Ÿ“ง jms-demo with play 2.1
Java
1
star
28

fsharp_hints

F# hints
F#
1
star
29

nerdtree-fzf

NERDTree Plugin to use with FZF
Vim Script
1
star
30

nerdtree-far

Nerdtree Plugin to use with Far
Vim Script
1
star
31

showmarks.nvim

Show marks on current buffer
Fennel
1
star
32

fsharp_samples

F# Samples
F#
1
star
33

Vim-Tetr1s

๐Ÿ“Š Tetris Game for Vim
1
star
34

BufJump

๐Ÿš€ Mapping to manage jump between buffer
Vim Script
1
star
35

learn_fsharp_tweets

Learn F# Tweets ๐Ÿ”ท
1
star
36

Snake.vim

๐Ÿ Snake Game for Vim
Vim Script
1
star
37

ignored_files.vim

Plugin to ignore filetypes and buffers for a number of plugins
Vim Script
1
star