Browse Source

restore lazygit-window from backup

main
Brian Hicks 2 months ago
parent
commit
631d23eaed
  1. 5
      dotfiles/tmux/default.nix
  2. 2
      flake.nix
  3. 2
      pkgs/lazygit-window/default.nix
  4. 0
      pkgs/lazygit-window/lazygit-window.sh

5
dotfiles/tmux/default.nix

@ -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

2
flake.nix

@ -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 {

2
backup/pkgs/lazygit-window/default.nix → pkgs/lazygit-window/default.nix

@ -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

0
backup/pkgs/lazygit-window/lazygit-window.sh → pkgs/lazygit-window/lazygit-window.sh

Loading…
Cancel
Save