Quantcast

set all alphabetical list

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

set all alphabetical list

mlh457
is there a way to make the output of "set all" an alphabetical list?

i want to see all the options in an alphabetical list

--
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: set all alphabetical list

Salman Halim
On Wed, Jun 20, 2012 at 12:21 PM, mlh457 <[hidden email]> wrote:

> is there a way to make the output of "set all" an alphabetical list?
>
> i want to see all the options in an alphabetical list

Hmm.. From what I can see, the output if ":set all" *is* alphabetical,
just arranged in two blocks, the first consisting of simple options
(themselves arranged in columns instead of lines) and the second of
options with longer values. The two blocks are alphabetized within each
other.

Of course, you knew all this and actually want ONE list of options,
possibly one to a line or something. To get an editable variation, try
:options. To truly get what you seek will require a custom function. I
can produce one, if you're interested, but don't know of one offhand.

Hope this helps,

Salman

--
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: set all alphabetical list

mlh457
it helps alot...thanks!

--
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: set all alphabetical list

Christian Brabandt
In reply to this post by Salman Halim
Hi Salman!

On Mi, 20 Jun 2012, Salman Halim wrote:

> On Wed, Jun 20, 2012 at 12:21 PM, mlh457 <[hidden email]> wrote:
>
> > is there a way to make the output of "set all" an alphabetical list?
> >
> > i want to see all the options in an alphabetical list
>
> Hmm.. From what I can see, the output if ":set all" *is* alphabetical,
> just arranged in two blocks, the first consisting of simple options
> (themselves arranged in columns instead of lines) and the second of
> options with longer values. The two blocks are alphabetized within each
> other.

Try resizing the window to something small. That should provide one
single list.

> Of course, you knew all this and actually want ONE list of options,
> possibly one to a line or something. To get an editable variation, try
> :options. To truly get what you seek will require a custom function. I
> can produce one, if you're interested, but don't know of one offhand.

Which you can also sort, e.g. something like this in the option window:
:sort /^\s*set /
:v /^\s\+set/d

As far as I can tell, you still can edit the options and execute it with
CR on an option.

regards,
Christian

--
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
Loading...