restore lazygit-window from backup
parent
124178d909
commit
631d23eaed
|
@ -1,4 +1,4 @@
|
||||||
{ ... }: {
|
{ pkgs, ... }: {
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
terminal = "tmux-256color";
|
terminal = "tmux-256color";
|
||||||
|
@ -15,6 +15,9 @@
|
||||||
bind-key -n C-k select-pane -U
|
bind-key -n C-k select-pane -U
|
||||||
bind-key -n C-l select-pane -R
|
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
|
# get rid of the half-second escape time for kakoune's escape key
|
||||||
set -sg escape-time 25
|
set -sg escape-time 25
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,8 @@
|
||||||
|
|
||||||
# is this going to cause problems by not actually being a package?
|
# is this going to cause problems by not actually being a package?
|
||||||
fzf-tab = inputs.fzf-tab;
|
fzf-tab = inputs.fzf-tab;
|
||||||
|
|
||||||
|
lazygit-window = final.callPackage ./pkgs/lazygit-window {};
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosConfigurations.torch = inputs.nixpkgs.lib.nixosSystem {
|
nixosConfigurations.torch = inputs.nixpkgs.lib.nixosSystem {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ sources ? import ../../nix/sources.nix, pkgs ? import sources.nixpkgs { } }:
|
{ pkgs ? import <nixpkgs> { } }:
|
||||||
pkgs.stdenv.mkDerivation {
|
pkgs.stdenv.mkDerivation {
|
||||||
# inspired by one of Stöffel's keybindings at
|
# inspired by one of Stöffel's keybindings at
|
||||||
# https://github.com/stoeffel/.dots/blob/master/tmux/keybindings.conf
|
# https://github.com/stoeffel/.dots/blob/master/tmux/keybindings.conf
|
Reference in New Issue