terminal-life: use our hotkeys for pagers like bat
and less
This commit is contained in:
parent
08d0f49f3a
commit
dccf0baed0
|
@ -22,7 +22,7 @@
|
||||||
bud.inputs.nixpkgs.follows = "nixos";
|
bud.inputs.nixpkgs.follows = "nixos";
|
||||||
bud.inputs.devshell.follows = "digga/devshell";
|
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";
|
home.inputs.nixpkgs.follows = "nixos";
|
||||||
|
|
||||||
darwin.url = "github:LnL7/nix-darwin";
|
darwin.url = "github:LnL7/nix-darwin";
|
||||||
|
|
|
@ -25,6 +25,16 @@ in
|
||||||
programs.dircolors.enable = true;
|
programs.dircolors.enable = true;
|
||||||
programs.dircolors.enableZshIntegration = 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;
|
home.file."xinitrc".source = ./.xinitrc;
|
||||||
|
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue