You are not logged in.

#1 2024-06-13 19:35:19

wonn
Member
Registered: 2024-06-03
Posts: 24

[SOLVED]Setting a terminal + neovim colourscheme is shockingly complex

I'm trying to set things up such that I have a fairly universal colourscheme for my terminal and anything that runs in it, especially neovim. It seems, however, that there's a million different ways to do this, and I cannot figure out what best practices is and what setup best avoids duplicating configurations. As far as I can tell, these are the options -

* Set the colours in neovim (and whatever else) directly, and set the colours in the shell / terminal emulator separately
* Set the colours in the terminal emulator (I'm using alacritty) - which as far as I can tell leaves them inaccessible to neovim (it's just carrying on with its default colours)
* Set the colours in the shell itself (zsh) - this seems to be also inconvenient because alacritty's $TERM variable is 'alacritty' instead of like 'xterm-256colors' or something sensible and so it fails to inherit from zsh
* Set the colours at some even lower level, such that theoretically everything inherits them

What's the simplest and most centralised way to do this, preferably via user config files?

Last edited by wonn (2024-06-13 19:41:34)

Offline

#2 2024-06-13 19:41:24

wonn
Member
Registered: 2024-06-03
Posts: 24

Re: [SOLVED]Setting a terminal + neovim colourscheme is shockingly complex

Ah, never mind; my problem was that I was getting neovim's 'termguicolors' and 'notermguicolours' backwards. Setting it with the terminal emulator is the way to go.

Offline

Board footer

Powered by FluxBB