fix helix manpager

This commit is contained in:
Noah Masur 2025-04-07 16:34:31 -04:00
parent 31e93606f4
commit ce308a6347
No known key found for this signature in database

View File

@ -22,7 +22,9 @@ in
# Set Neovim as the default app for text editing and manual pages
home.sessionVariables = {
EDITOR = lib.mkForce "${lib.getExe pkgs.helix}";
MANPAGER = lib.mkForce "${lib.getExe pkgs.helix}";
MANPAGER = lib.mkForce "sh -c 'col -bx | ${lib.getExe pkgs.helix}'";
MANWIDTH = 87;
MANROFFOPT = "-c";
};
# Create quick aliases for launching Helix