vim-orgmode
vim-orgmode copied to clipboard
remove a folded header's background color?
Hi,
This might not be an issue related to bugs but I really want to know how to change the background color of a fold, which is default to be white, and I personally think it is quite distracted. Is there a way to let the fold just not have a color, like how the org-mode in emacs behave? I am just a vim starter and any help will be welcome.
Just to clarify a bit more, in emacs, when you hit tab on a header, the text block will fold and that's it. However in vim, when you hit tab on a header, the text block will fold and the header will be set to a high contrast color, which is what I would not like to happen.
Thank you!
Agree. I use a dark color scheme and folded sections are so bright it's very distracting. I'm not a vim beginner but I've scoured the manual and I am unable to find anything that says how to set those colors.
Hey, I just figured it out! It's not orgmode-specific. It's the vim Folded highlight colors: https://stackoverflow.com/questions/3930604/different-colors-for-folds-and-subfolds-in-vim
For instance:
:hi Folded guibg=green
makes folds green on my vim.
That's awesome! Would like to know what color you choose as well!
for example, :hi Folded guibg=white :hi Folded guifg=white