Closed dahanbn closed 10 years ago
Hello Daniel
Guifont and colorscheme are global settings within Vim, so they'll apply across all buffers within a single Vim instance.
My vim-thematic plugin provides a handy way to switch between global configurations. The session management plugins do something similar. But I don't know of anything that will switch automatically based on filetype.
Another option is to launch two separate instances of vim, each with their own global settings driven by thematic or a session plugin.
I use a key mapping to switch to a particular theme for writing: https://github.com/reedes/vim-config/blob/master/vimrc#L329
Does that answer your question?
Closing.
Hello,
I am pretty new to Vim and I stumbled on your cool plugin. I like it a lot for editing Markdown files. In general I prefer a black theme (molokai) and CamingoCode as my default font.
But for editing Markdown files I would prefer to have Cousine as a font and vim-colors-pencil (light) as colourscheme. How can I automatically switch to that for Markdown files and switch automatically back to my default theme for non Markdown files?
I hope you can help me with that topic.
Greetings from Germany