diff options
| author | Andrew <admonty1@protonmail.com> | 2025-08-23 00:41:34 -0400 |
|---|---|---|
| committer | Andrew <admonty1@protonmail.com> | 2025-08-23 00:41:34 -0400 |
| commit | 2844488b42a47a40cfa5d5b4fb307e2246fad8ab (patch) | |
| tree | 04f30fb1532d410ebefbe742ea2001302d644488 /tmux.nix | |
| parent | ghostty configuration (diff) | |
| download | nixos-2844488b42a47a40cfa5d5b4fb307e2246fad8ab.tar.gz nixos-2844488b42a47a40cfa5d5b4fb307e2246fad8ab.tar.bz2 nixos-2844488b42a47a40cfa5d5b4fb307e2246fad8ab.zip | |
zsh and oh-my-zsh configuration added
Diffstat (limited to 'tmux.nix')
| -rw-r--r-- | tmux.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tmux.nix b/tmux.nix new file mode 100644 index 0000000..ec5ba81 --- /dev/null +++ b/tmux.nix @@ -0,0 +1,28 @@ +{ config, pkgs, ... }: + +{ + programs.tmux = { + enable = true; + terminal = "xterm-256color"; + historyLimit = 5000; + extraConfig = '' + # Split panes using | and - + bind | split-window -h + bind - split-window -v + unbind '"' + unbind % + + # Enable mouse support + set -g mouse on + + # Set prefix to Ctrl-a + unbind C-b + set -g prefix C-a + bind C-a send-prefix + + # Improve colors + set -g default-terminal "tmux-256color" + set -ag terminal-overrides ",xterm-256color:RGB" + ''; + }; +} |
