On 08/01/09 15:14, Dennis Benzinger wrote:
> Hi!
>
> Which commands are executed in colorscheme files?
> Is it safe to :colorscheme unknown files or can they contain arbitrary code?
>
>
> Dennis Benzinger

If you don't trust the author, you had better ":view" the file first, to 
check that it's innocuous.

I'm not sure whether or not colorschemes are executed in the |sandbox|.

If you want to write your own colorscheme(s), have a look at the 
colorschemes distributed with Vim. I'm adding one that I wrote myself 
for my own purposes, it might not be what you need, but it is slightly 
more complex than the "default" colorscheme and somewhat simpler than 
the other colorschemes distributed with Vim. It might spur your 
inspiration if you want to write your own.


Best regards,
Tony.
-- 
Health nuts are going to feel stupid someday, lying in hospitals dying
of nothing.
                -- Redd Foxx

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

Attachment: almost-default.vim
Description: application/octetstream

Reply via email to