TaskMotions : Motions to task and TODO markers.
script karma |
Rating 1/1,
Downloaded by 1620 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Ingo Karkat |
|
script type |
utility |
|
description |
DESCRIPTION
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.
RELATED WORKS
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).
USAGE
]t Go to [count] next start of a task or TODO marker.
[t Go to [count] previous start of a task or TODO marker. |
|
install details |
INSTALLATION
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.
vim TaskMotions*.vmb.gz
:so %
To uninstall, use the :RmVimball command.
DEPENDENCIES
- Requires Vim 7.0 or higher.
- Requires the CountJump plugin (vimscript #3130), version 1.81 or higher.
CONFIGURATION
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
CountJump-remap-motions. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 35.173.181.0
|