Hi Salman!
On Mi, 20 Jun 2012, Salman Halim wrote:
> On Wed, Jun 20, 2012 at 12:21 PM, mlh457 <mlh457@gmail.com> 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
Wednesday, June 20, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment