2

I'm running Neovim 0.2.1 in Konsole with i3 and Compton in the back. I'm using a little bit of transparency in Konsole for a more dapper experience, but given that I use vim as my primary editor I'd prefer to not have transparency there as it's a little bit distracting. My colour scheme is vim-monokai.

What's really got me scratching my head is that I have two computers, both running virtually the same setup (Intel integrated graphics, i3, Compton, Konsole, zsh, same neovim version and plugins). One does not have transparency in its terminal, while the other does.

Jakob
  • 479
  • 5
  • 12

1 Answers1

4

For vim:

highlight Normal ctermbg=Black
highlight NonText ctermbg=Black

Your colorschema most likely does not set ctermbg. Replace "Black" with the desired background color.

blues
  • 4,547
  • 3
  • 23
  • 39
  • This kind of does it. I tried this and looked further and found the following: * In QTerminal + Neovim, my theme displayed as intended. However, the commands did not change the background to black. * In QTerminal + Vim, the background changing works as intended and disables transparency. * In Konsole + Neovim, the commands did not work, as was the case before. * In Konsole + Vim, the commands did not work, background stayed transparent per default theme. * In Xfce's terminal emulator + Vim, the commands work as expected. * In Xfce's terminal emulator + nvim, the commands do not work. – Jakob Oct 06 '17 at 19:35
  • All in all this seems to point at my Qt environment being up to no good, my theme clashing somewhat with these commands in Nvim, but otherwise working as expected. As Vim/Neovim is evidently not the issue here, I'm marking this solved and dig further – Jakob Oct 06 '17 at 19:40