vim-textobj-user
vim-textobj-user copied to clipboard
User text-objects reference
I'm already using a bunch of plugins making use of vim-textobj-user and sometimes it's hard to remember what text-objects are contributed by which plugin, or what's available for the current filetype. Is there a way to list them or how hard would that be?
That's hard to achieve perfectly. Because vim-textobj-user doesn't track such information. But you can use :vmap a to list all of available text objects, and :vmap <buffer>a to list text objects defined only for the current buffer (= filetype).
Unfortunately, :verbose vmap a doesn't work as expected. This command lists all text objects with plugin names which defined them. But all text objects are defined via vim-textobj-user, so that the command lists vim-textobj-user repeatedly.