From 2844488b42a47a40cfa5d5b4fb307e2246fad8ab Mon Sep 17 00:00:00 2001 From: Andrew Date: Sat, 23 Aug 2025 00:41:34 -0400 Subject: zsh and oh-my-zsh configuration added --- tmux.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tmux.nix (limited to 'tmux.nix') 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" + ''; + }; +} -- cgit v1.3.1