diff options
author | Soispha <soispha@vhack.eu> | 2024-01-13 11:41:48 +0100 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2024-01-13 11:41:48 +0100 |
commit | 4b17d3044169c1eebb93bd22f490b7f1e19d0766 (patch) | |
tree | f515fbe71b12e6427b393e977ccb0272b8ca9b4d /hm/soispha/conf/less/default.nix | |
parent | fix(hm): Move the session variables to their associated service (diff) | |
download | nixos-config-4b17d3044169c1eebb93bd22f490b7f1e19d0766.zip |
feat(hm/conf/less): Configure the full lesskey file
Diffstat (limited to 'hm/soispha/conf/less/default.nix')
-rw-r--r-- | hm/soispha/conf/less/default.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/hm/soispha/conf/less/default.nix b/hm/soispha/conf/less/default.nix index e5506fcd..c9109dd8 100644 --- a/hm/soispha/conf/less/default.nix +++ b/hm/soispha/conf/less/default.nix @@ -5,11 +5,14 @@ }; programs.less = { enable = true; - keys = '' - t forw-line - n back-line - l repeat-search - L reverse-search - ''; + keys = + builtins.readFile ./command.less + + builtins.readFile + ./line-edit.less + + builtins.readFile ./env.less + # This next line *must* be under `./env.less` as it adds to the definitions + + '' + LESSHISTFILE = ${config.xdg.dataHome}/less/history + ''; }; } |