Use tmux
This commit is contained in:
parent
867912a676
commit
5bfab60b73
3 changed files with 42 additions and 8 deletions
1
.envrc
1
.envrc
|
@ -1 +0,0 @@
|
|||
PATH_add .
|
|
@ -228,7 +228,8 @@
|
|||
|
||||
cursor = {
|
||||
package = pkgs.bibata-cursors;
|
||||
name = "Bibata-Modern-Ice";
|
||||
name = "Bibata-Modern-Classic";
|
||||
size = 28;
|
||||
};
|
||||
|
||||
fonts = {
|
||||
|
|
46
home.nix
46
home.nix
|
@ -49,7 +49,10 @@
|
|||
|
||||
alacritty = {
|
||||
enable = true;
|
||||
settings.shell.program = lib.getExe config.programs.zsh.package;
|
||||
settings.shell = {
|
||||
program = lib.getExe config.programs.tmux.package;
|
||||
args = [ "attach" ];
|
||||
};
|
||||
};
|
||||
|
||||
thunderbird = {
|
||||
|
@ -73,6 +76,42 @@
|
|||
autocd = true;
|
||||
autosuggestion.enable = true;
|
||||
prezto.enable = true;
|
||||
|
||||
shellAliases =
|
||||
let
|
||||
gitExe = lib.getExe config.programs.git.package;
|
||||
in
|
||||
{
|
||||
htop = lib.getExe pkgs.btop;
|
||||
gp = "${gitExe} push";
|
||||
gco = "${gitExe} checkout";
|
||||
gd = "${gitExe} diff";
|
||||
gc = "${gitExe} commit";
|
||||
gpl = "${gitExe} pull";
|
||||
gb = "${gitExe} branch";
|
||||
ga = "${gitExe} add";
|
||||
gl = "${gitExe} log";
|
||||
gs = "${gitExe} status";
|
||||
tf = lib.getExe pkgs.opentofu;
|
||||
};
|
||||
};
|
||||
|
||||
tmux = {
|
||||
enable = true;
|
||||
shell = lib.getExe config.programs.zsh.package;
|
||||
shortcut = "a";
|
||||
clock24 = true;
|
||||
newSession = true;
|
||||
mouse = true;
|
||||
escapeTime = 10;
|
||||
terminal = "screen-256color";
|
||||
|
||||
extraConfig = ''
|
||||
unbind _
|
||||
bind _ split-window -h
|
||||
unbind -
|
||||
bind - split-window -v
|
||||
'';
|
||||
};
|
||||
|
||||
ssh = {
|
||||
|
@ -103,11 +142,6 @@
|
|||
commit.verbose = true;
|
||||
pull.rebase = true;
|
||||
};
|
||||
|
||||
includes = [{
|
||||
path = "~/git/suecode/.gitconfig";
|
||||
condition = "gitdir:~/git/suecode/**";
|
||||
}];
|
||||
};
|
||||
|
||||
# Currently, it is not possible to have Home Manager manage Liberwolf extensions.
|
||||
|
|
Loading…
Reference in a new issue