terminal-life: use our hotkeys for pagers like bat

and less
This commit is contained in:
teutat3s 2022-04-26 11:22:04 +02:00
parent 08d0f49f3a
commit dccf0baed0
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 11 additions and 1 deletions

View file

@ -22,7 +22,7 @@
bud.inputs.nixpkgs.follows = "nixos";
bud.inputs.devshell.follows = "digga/devshell";
home.url = "github:nix-community/home-manager/release-21.11";
home.url = "github:nix-community/home-manager/master";
home.inputs.nixpkgs.follows = "nixos";
darwin.url = "github:LnL7/nix-darwin";

View file

@ -25,6 +25,16 @@ in
programs.dircolors.enable = true;
programs.dircolors.enableZshIntegration = true;
programs.less = {
enable = true;
keys = ''
k forw-line
i back-line
K forw-scroll
I back-scroll
'';
};
home.file."xinitrc".source = ./.xinitrc;
xdg.enable = true;