On 07/10/08 17:53, Venkata Suryam Setty ISSA wrote:
> Richard Hartmann wrote:
>> On Mon, Oct 6, 2008 at 15:31, Venkata Suryam Setty ISSA
>> <[EMAIL PROTECTED]>  wrote:
>>
>>
>>>>> Read this help document for all the details:
>>>>> :help redir
>>>>>
>>>>>
>>> How did you do that?
>>>
>>
>> You open Vim, press ESC to be on the safe side (and it becomes a habit,
>> anyway.
>> Then, you enter
>>
>>   :help redir
>>
>> and read the help provided. When you have a concrete question about
>> anything in the docs, you come back here&  ask them.
>>
>>
> I gave the command,
> :set all redir > bcd
>
> &  opened the file 'bcd' in a new split while the session is still
> active and found that it's empty.
>
> Understood that it will be written only after the session is completed
> or it is closed by another redir command . Sorry for the confusion.
>
> Regards
> Suryam.

You should really have read ":help :redir".

Here is how to do it:

        :redir > settings.txt
        :set all
        :redir END

then the file settings.txt contains the output of ":set all". You can 
also append instead of overwrite, or write to a register (including the 
clipboard) instead of a file.

Best regards,
Tony.
-- 
Boys are beyond the range of anybody's sure understanding, at least
when they are between the ages of 18 months and 90 years.
                -- James Thurber

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to