From b10ea9c08a8ad93496c75f9a598cb5cae6fb6fe8 Mon Sep 17 00:00:00 2001 From: vorboyvo Date: Mon, 14 Sep 2026 14:27:45 -0400 Subject: [PATCH] add wordcount --- hosts/randolph/configuration.nix | 1 - snippets/kakoune.nix | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/randolph/configuration.nix b/hosts/randolph/configuration.nix index 7a2e9aa..eb7d5db 100644 --- a/hosts/randolph/configuration.nix +++ b/hosts/randolph/configuration.nix @@ -142,7 +142,6 @@ # driverless ghostscript colord - cups-brother-hll2340dw ]; logLevel = "debug"; }; diff --git a/snippets/kakoune.nix b/snippets/kakoune.nix index e57252f..3d3a5b7 100644 --- a/snippets/kakoune.nix +++ b/snippets/kakoune.nix @@ -86,6 +86,8 @@ map global normal ': move-lines-down %val{count}' map global normal ': move-lines-up %val{count}' + source ${pkgs.writeText "wordcount.kak" (builtins.readFile ./kakoune/wordcount.kak)} + # byline enables extending selection with x require-module byline