Thursday, December 26, 2013

specific colorscheme for help files

Hi,

As I'm still learning vim (who isn't?), I'm often reading the help
files. Typing ':h help' splits the window into two buffers which have
the same colorscheme, which can be pretty confusing at some point.
I'm trying to configure vim so that the help files are in a different
colorscheme than the buffer I came from. First idea was to use the
ftplugin mechanism. I thus created ~/.vim/ftplugin/help.vim in which I
put:

colorscheme darkblue

This works for the help file, but as a side effect, it also changes the
other buffer, which is obviously not what is desired.

I then searched the Net and fell on a message by Gary Johnson dated
December 27th, 2012 [1], saying it was not possible to do this. Further
searches seemed to show other opinions, but nothing that I could use as
is.

Any help on this issue would be greatly appreciated.

Thanks,
steve



[1] http://comments.gmane.org/gmane.editors.vim/109399

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

No comments:

Post a Comment