restore lazygit-window from backup

main
Brian Hicks 2021-08-23 05:55:54 -05:00
parent 124178d909
commit 631d23eaed
4 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ ... }: {
{ pkgs, ... }: {
programs.tmux = {
enable = true;
terminal = "tmux-256color";
@ -15,6 +15,9 @@
bind-key -n C-k select-pane -U
bind-key -n C-l select-pane -R
# quickly open CLI tools
bind h run-shell "${pkgs.lazygit-window}/bin/lazygit-window"
# get rid of the half-second escape time for kakoune's escape key
set -sg escape-time 25

View File

@ -37,6 +37,8 @@
# is this going to cause problems by not actually being a package?
fzf-tab = inputs.fzf-tab;
lazygit-window = final.callPackage ./pkgs/lazygit-window {};
};
nixosConfigurations.torch = inputs.nixpkgs.lib.nixosSystem {

View File

@ -1,4 +1,4 @@
{ sources ? import ../../nix/sources.nix, pkgs ? import sources.nixpkgs { } }:
{ pkgs ? import <nixpkgs> { } }:
pkgs.stdenv.mkDerivation {
# inspired by one of Stöffel's keybindings at
# https://github.com/stoeffel/.dots/blob/master/tmux/keybindings.conf