On 03/08/14 10:52, jmlucjav wrote:
​
hi

I am considering adding some mapping to define a new text object (for
numbers) as iN, aN etc. The thing is I already have a number of plugins
for text objects. I don't have my custom cheatsheat here, so I cannot
verify iN is available.

What would be the way to list all text objects defined from inside vim,
or at least check iN is available?

thanks


No need for a custom external cheat sheet, there is the built-in help.
        :help iN
        :help aN
send back to :in[sert] and :an[oremenu] so these two "moves" are not yet defined in Normal or Operator-pending mode. Similarly there is no help for v_iN or v_aN so they aren't taken (yet) in Visual mode either.

Near the top of
        :help quickref.txt
you can see a two-column list with among others
        |Q_tm|  motion: Text object
        |Q_to|  Text objects
so double-clicking either of these green helptags (or hitting Ctrl-] on them) will bring you to the corresponding help. Or you could use just
        :help Q_tm
        :help Q_to
for the same purpose. That's a built-in cheat sheet for you.


Best regards,
Tony.
--
Whatever it is, I fear Greeks even when they bring gifts.
                -- Publius Vergilius Maro (Virgil)


--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to