Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User text-objects reference #52

Open
nkgm opened this issue Feb 23, 2017 · 1 comment
Open

User text-objects reference #52

nkgm opened this issue Feb 23, 2017 · 1 comment

Comments

@nkgm
Copy link

nkgm commented Feb 23, 2017

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?

@kana
Copy link
Owner

kana commented Feb 25, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants