From 3be98e5ef5247042fd219dded572910305b1a5a4 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 9 Mar 2024 14:16:43 +0100 Subject: big restructure of `mode` scripts --- .local/share/mode/reload.d/nvim | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 .local/share/mode/reload.d/nvim (limited to '.local/share/mode/reload.d/nvim') diff --git a/.local/share/mode/reload.d/nvim b/.local/share/mode/reload.d/nvim new file mode 100755 index 0000000..84ae847 --- /dev/null +++ b/.local/share/mode/reload.d/nvim @@ -0,0 +1,5 @@ +#!/bin/sh +nvr --serverlist | while read -r nvim_socket ; do + fork nvr --nostart --servername "$nvim_socket" -c 'source $XDG_CONFIG_HOME/nvim/mode.vim' +done + -- cgit v1.2.3