Re: Script to Show All Commands/Searchable

2015-09-22 Thread Tony Mechelynck
On Tue, Sep 22, 2015 at 5:41 PM, Shlomi Fish  wrote:
> Hi Gary,
>
> On Tue, 22 Sep 2015 08:30:06 -0700
> Gary Furash  wrote:
>
>> In tools like UltraEdit or Atom or Sublime, there's a way to search a menu
>> of commands (i.e., all commands the program could do or could do via
>> plugins can be searched and chosen from if you don't remember the
>> command.). Is there something similar for VIM?
>>
>
> «:command» can list command-line commands and «:map» can list mappings. I
> recall finding a script or a plugin that allows to put the outputs of commands
> like that in a buffer, but I'll need to dig for it.
>
> Gmar Hatimah Tovah and happy MP3 Liberation Day!
>
> Regards,
>
> Shlomi Fish
>
It is not a plugin, it is a built-in command: see

:help :redir

which gives you (in my gvim where 'lines' is set at 68) about one
screenful of variations with how to use them and what they do.


Best regards,
Tony.

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


Re: Script to Show All Commands/Searchable

2015-09-22 Thread Tony Mechelynck
P.S. For a menu (of possible ex-command completions) on the status
line, see also
:help 'wildmenu'
:help 'wildmode'
and for a list of all possible completions to an ex-command, displayed
so that you see them all (unless they overshoot your whole screen)
:help c_CTRL-D
which is part of
:help cmdline-completion

Best regards,
Tony.

On Tue, Sep 22, 2015 at 6:11 PM, Tony Mechelynck
 wrote:
> On Tue, Sep 22, 2015 at 5:41 PM, Shlomi Fish  wrote:
>> Hi Gary,
>>
>> On Tue, 22 Sep 2015 08:30:06 -0700
>> Gary Furash  wrote:
>>
>>> In tools like UltraEdit or Atom or Sublime, there's a way to search a menu
>>> of commands (i.e., all commands the program could do or could do via
>>> plugins can be searched and chosen from if you don't remember the
>>> command.). Is there something similar for VIM?
>>>
>>
>> «:command» can list command-line commands and «:map» can list mappings. I
>> recall finding a script or a plugin that allows to put the outputs of 
>> commands
>> like that in a buffer, but I'll need to dig for it.
>>
>> Gmar Hatimah Tovah and happy MP3 Liberation Day!
>>
>> Regards,
>>
>> Shlomi Fish
>>
> It is not a plugin, it is a built-in command: see
>
> :help :redir
>
> which gives you (in my gvim where 'lines' is set at 68) about one
> screenful of variations with how to use them and what they do.
>
>
> Best regards,
> Tony.

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


Re: Script to Show All Commands/Searchable

2015-09-22 Thread Tim Chase
On 2015-09-22 08:30, Gary Furash wrote:
> In tools like UltraEdit or Atom or Sublime, there's a way to search
> a menu of commands (i.e., all commands the program could do or
> could do via plugins can be searched and chosen from if you don't
> remember the command.). Is there something similar for VIM?

While it doesn't give external plugins, every command in vim should
be documented at the corresponding sub-section of

  :help index

If you want an ex-command, read up on ":help ex-cmd-index"; if you
want normal-mode keys, there's ":help normal-index", etc.

And as Shlomi mentioned, you can see what mappings/commands/functions
you have with

  :command
  :map
  :map!
  :function

The breadth of vim makes that a daunting bit of output, so you might
have better success searching the help for relevant terms.

-tim




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


Script to Show All Commands/Searchable

2015-09-22 Thread Gary Furash
In tools like UltraEdit or Atom or Sublime, there's a way to search a menu
of commands (i.e., all commands the program could do or could do via
plugins can be searched and chosen from if you don't remember the
command.). Is there something similar for VIM?

-- gary furash | furashg...@gmail.com, 520-907-2470

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


Re: Script to Show All Commands/Searchable

2015-09-22 Thread Shlomi Fish
Hi Gary,

On Tue, 22 Sep 2015 08:30:06 -0700
Gary Furash  wrote:

> In tools like UltraEdit or Atom or Sublime, there's a way to search a menu
> of commands (i.e., all commands the program could do or could do via
> plugins can be searched and chosen from if you don't remember the
> command.). Is there something similar for VIM?
>

«:command» can list command-line commands and «:map» can list mappings. I
recall finding a script or a plugin that allows to put the outputs of commands
like that in a buffer, but I'll need to dig for it.

Gmar Hatimah Tovah and happy MP3 Liberation Day!

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
List of Text Processing Tools - http://shlom.in/text-proc

After Chuck Norris said “I don’t believe in fairies.”, fairies have become
extinct.
— http://www.shlomifish.org/humour/bits/facts/Chuck-Norris/

Please reply to list if it's a mailing list post - http://shlom.in/reply .

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