Thursday, April 2, 2015

Re: How to get to the helppage of shiftwidth in options.txt?

Christian Brabandt wrote:
> Am 2015-04-01 04:27, schrieb Peng Yu:
>> Check compgen in bash, then you will see what I mean.
>
> Please be more specific and say exactly what you want. Not everybody
> wants to install bash to check a manual page.
>
If this helps, here's the pertinent section from bash's manpage for compgen:


compgen [option] [word]
Generate possible completion matches for word according to
the options, which may be any option accepted by the complete builtin
with the exception of -p and -r, and write the matches to the standard
output. When
using the -F or -C options, the various shell variables
set by the programmable completion facilities, while available, will not
have useful values.

The matches will be generated in the same way as if the
programmable completion code had generated them directly from a
completion specification with the same flags. If word is specified,
only those completions
matching word will be displayed.

The return value is true unless an invalid option is
supplied, or no matches were generated.

Regards,
Chip

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment