Initial commit

This commit is contained in:
Charlotte Van Petegem 2020-02-06 19:53:43 +01:00
commit 4256a94080
22 changed files with 1179 additions and 0 deletions

17
programs/tmux/default.nix Normal file
View file

@ -0,0 +1,17 @@
{ ... }:
{
home-manager.users.charlotte = { ... }: {
programs.tmux = {
enable = true;
clock24 = true;
extraConfig = ''
bind q kill-session
bind v run-shell "tmux setw main-pane-width $(($(tmux display -p '#{window_width}') * 70 / 100)); tmux select-layout main-vertical"
bind h run-shell "tmux setw main-pane-height $(($(tmux display -p '#{window_height}') * 70 / 100)); tmux select-layout main-horizontal"
'';
keyMode = "vi";
tmuxinator.enable = true;
};
};
}