On Mon, Nov 4, 2013 at 5:40 PM, Bruno Sutic <[email protected]> wrote: > Hi, > I'm using terminal vim 7.4 on OS X. > I was surprised to discover that in Terminal app, folded sections aren't > displayed properly - they're invisible! > > If I open the same file (same vimrc, same colorscheme, same everything) in > iTerm2, folded sections are displayed nicely. How come? > > Since I'd really like to switch back to default Terminal app, I'd like to > know - what's the catch? > > I'm attaching the image of the same file shown in both Terminal and in iTerm2 > (basically you can't see folded sections in Terminal app on the right). > > Here's some more info: > Colorscheme is 'desert256' > > Highlighting: > Folded xxx term=standout cterm=bold ctermfg=0 guifg=Cyan > guibg=DarkGrey > FoldColumn xxx term=standout cterm=bold ctermfg=0 guifg=Cyan guibg=Grey
ctermfg=0 means the foreground will be black. I presume iTerm2 has some funky color pallette installed, but the fold _should_ be hidden in both Terminal and iTerm2. This should fix your problem: :highlight Folded term=standout cterm=bold ctermfg=59 guifg=Cyan guibg=DarkGrey If you don't like the color of grey specified by ctermfg=59, try the other "grey" cterm values here: http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim -- -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
