SyntaxMotion.vim is a project mainly written in Vim Script, it's free.
Cursor motion & visual selection by syntax highlighting group
This is a mirror of http://www.vim.org/scripts/script.php?script_id=2965
This plugin provides cursor motion by syntax highlighting groups in normal and visual mode:
type
type
For example, when inside a string, pressing
Repeating the motion multiple times will move to the next syntax
highlighting group (forward or backward). A repeat count number can also be
given before typing
Strictly speaking, motion actually moves to the start or end of the text which has the same "color" (rather than same "syntax group") as the color of the text where cursor is originally located. So if your color scheme defines the same colors for multiple syntax groups, motion may actually span multiple consecutive syntax groups if they have the same colors. Motion is based on syntax highlighting colors rather than syntax highlighting groups to make behavior more intuitive (what you see is what you get) since users see colors on the screen but may not be aware of different syntax highlight groups.
Plugin also provides a way to select the text visually around the position of the cursor with the same syntax group as where cursor is located:
type va
type va
Syntax highlighting must be enabled for the plugin to work.
License: The VIM LICENSE applies to SyntaxMotion.vim (see ":help copyright" except use "SyntaxMotion.vim" instead of "Vim").
ToDo: