Plugin Roundup: vim-pomodoro, diff-toggle, vim-addon-commenting

vim-pomodoro

Alex R. Young
usevim
2 min readApr 25, 2012

--

vim-pomodoro (vim.org: vim-pomodoro, License: MIT) by Maximilian Nickel is a tool for working using the Pomodoro time management technique. :PomodoroStart [pomodoro_name] starts a new pomodoro, then after the timer has ended a dialog will prompt you to take a break. It'll also automatically ask if a new pomodoro should be started.

vim-pomodoro screenshot

It can be integrated with system-level notifications, and has settings for the time of a pomodoro task and more.

diff-toggle

vim-diff-toggle (vim.org: diff-toggle, License: Vim) by Odin Dutton adds some shortcuts to diff editing.

Pressing <Space> will toggle the first character of the current line between + and space characters. The author intends this to aid adding files using git add --edit.

vim-addon-commenting

vim-addon-commenting (vim.org: vim-addon-commenting, License: Vim) by Marc Weber is a fork of Tim Pope’s vim-commentary that can toggle comments on blocks of code based on indentation level.

Pressing \\ will comment out a block based on the indentation level of each line of code. It takes a count argument, and can comment using motions.

Languages can be added using the following:

The indentation behaviour is what differentiates it from Tim Pope’s original plugin, it’s worth trying both if you’re looking for something in this area.

--

--