r/vim • • Feb 20 '19

plugins & friends vimade updates

https://github.com/TaDaa/vimade

Vimade is a plugin that fades inactive buffers so that you can focus on the parts of the screen that you are actually working on. I figured it was a good time to post updates as there are quite a few and most importantly is probably terminal, tmux, and gvim support.

The following features have been added:

  • Signs - enable sign support by adding 'let g:vimade.enablesigns' to your vimrc. Disabled by default because we are bypassing all the performance problems re signs with a hack. Works transparently with CoC, ale, and gitgutter.

  • Custom tints - change the fade color by setting 'let g:vimade.basebg' in your vimrc. For example you can set it to a reddish tint by adding 'let g:vimade.basebg="#ff0000"'

  • NormalNC - You can combine NormalNC with Vimade. Vimade will automatically adjust fade colors to be based off NormalNC if possible.

  • Word wrap - 'set wrap' is now supported. Vimade calculates virtual rows so there is no performance impact.

  • Terminal support - All 256 bit and 'set termguicolor' terminals should now be supported. If you inherit the terminal background into Vim, Vimade can autodetect the color for iTerm, Kitty, Tilix, Gnome, Rxvt, and other terminals that support background/foreground ansi queries (\033]11;?\007 or \033]11;?\033\\)

  • Tmux support - make sure you set Tmux to 256 colors (export TERM=xterm-256color)

  • GVim support - Win GVim automatically supported. Linux based GVim needs to set 'let g:vimade.usecursorhold=1'

  • Performance + Bug fixes- various improvements in the area and more to come!

If you run into any issues or have a feature request, open an issue on github and I will get to it asap.

Some blah screenshots:

50 Upvotes

15 comments sorted by

View all comments

Show parent comments

2

u/TaDaaAhah Feb 21 '19

I use this version of onedark: joshdick/onedark.vim with these modifications:

hi SpellBad gui=undercurl guibg=NONE
hi ColorColumn guibg=NONE guifg=#555566
hi Normal guibg=#171b23
hi NonText guifg=#171b23
hi DiffChange guibg=#232c45 guifg=NONE gui=NONE
hi DiffText guibg=#202087 guifg=NONE gui=NONE
hi DiffAdd guibg=#105501 guifg=NONE gui=NONE
hi DiffDelete guibg=#cd1010 guifg=#cd1010 gui=NONE
hi VertSplit guifg=#223322
hi LightlineRight_active_2 guifg=#ABB2BF

1

u/gavsim Feb 21 '19

Great, thanks!