On 6月8日, 上午1时26分, Jeri Raye <[email protected]> wrote:
> Hi
>
> I have my default color file in the directory:
> C:\Program Files\Vim\vimfiles\colors
>
> What do I need to do to let vim load a different color scheme when a
> certain file type is detected?
>
> For example:
> If I creat a colorscheme file aaa.vim
> Where does this file needs to be stored?
> And how do I let vim load this when a filetype of aaa is detected?
>
> In other words:
> if I open "myfile.aaa" in gvim I want the color scheme aaa.vim
>
> Rgds,
> Jeri

you can put aaa.vim into ftplugin folder, and everything is done.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to