This plugin has for goal to ease the creation of your own text objects.

vim-textobj-user homepage