TaDaa / vimade

Vimade let's you dim, fade, tint, animate, and customize colors in your windows and buffers
Apache License 2.0
540 stars 10 forks source link

Split the same buffer does not change colors #84

Closed voyeg3r closed 5 days ago

voyeg3r commented 5 days ago

Inactive window does not change colors when we split the same buffer

TaDaa commented 5 days ago

Buffer fading is the default mode. There is also a related section in the README, but you can enable window fading as well if you prefer:

Vimscript::

let g:vimade={}
let g:vimade.ncmode='windows'

Lua

require('vimade').setup{ncmode='windows'}

Python

from vimade import vimade
vimade.setup(ncmode='windows')
TaDaa commented 5 days ago

That should resolve the behavior you are expecting, but feel free to reopen if it's still not working. Happy to help either way!

TaDaa commented 2 days ago

Just wanted to update this thread as it gave me an idea/inspiration for a new recipe. The idea is to apply window and buffer fade+tint but to separate degrees. This way you can distinguish what is a same-split buffer (while it still looks faded) and what is completely separate.

It's called Duo and you can try it out using the following if interested:

lua:

local Duo = require('vimade.recipe.duo').Duo
require('vimade').setup(Duo{animate = true})

preview: