On my laptop, I frequently swap between a dark and a bright colorscheme for my terminal. I do this by symlinking its configuration file and asking it (termite) to read it without closing using killall -USR1 termite
.
I'd like my running neovims to pick up the change somehow, and set background
to either dark or light. I've visited this answer and this issue and other places in an effort to find out how to "refresh" neovim. And I'd like to avoid using packages like neovim-remote if possible.
nvim --version
NVIM v0.3.2-964-g7e97587da
Build type: RelWithDebInfo
LuaJIT 2.0.5
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe
-fstack-protector-strong -fno-plt -Wconversion -O2 -g -DMIN_LOG_LEVEL=3
-Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes
-std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong
-fdiagnostics-color=auto -Wno-array-bounds
-DINCLUDE_GENERATED_DECLARATIONS
-D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM
...
Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"