TaskMotions : Motions to task and TODO markers.
| script karma
Downloaded by 268
Comments, bugs, improvements
script versions (upload new version)
This plugin defines movement commands to go to a task or TODO marker embedded
in the file, like this:
// TODO: Check the return code from the frobnicator.
To get a list of all tasks and TODO markers in the current file or project,
you can use the companion GrepTasks.vim plugin (vimscript #4196).
]t Go to [count] next start of a task or TODO marker.
[t Go to [count] previous start of a task or TODO marker.
This script is packaged as a vimball. If you have the "gunzip" decompressor
in your PATH, simply edit the *.vmb.gz package in Vim; otherwise, decompress
the archive first, e.g. using WinZip. Inside Vim, install by sourcing the
vimball or via the :UseVimball command.
To uninstall, use the :RmVimball command.
- Requires Vim 7.0 or higher.
- Requires the CountJump plugin (vimscript #3130), version 1.81 or higher.
For a permanent configuration, put the following commands into your vimrc:
Tasks and TODO markers are defined by a regular expression. Change it via:
let g:TaskMotions_Pattern = '\<TODO:'
To change the default mappings from ]t to ]x, use:
let g:TaskMotions_Mapping = 'x'
To also change the [ / ] prefix to something else, follow the instructions for
Click on the package to download.
ip used for rating: 184.108.40.206