sept rice

This commit is contained in:
iofq 2025-08-03 10:38:37 -05:00
parent 89ab499605
commit 66ba28aaf3
12 changed files with 572 additions and 293 deletions

View file

@ -1,6 +1,8 @@
{config, ...}: {
{ config, pkgs, ... }:
{
programs.tmux = {
enable = true;
terminal = "xterm-256color";
keyMode = "vi";
mouse = true;
newSession = true;
@ -11,10 +13,13 @@
customPaneNavigationAndResize = true;
extraConfig = ''
bind-key -T copy-mode-vi 'v' send -X begin-selection
bind-key -T copy-mode-vi 'y' send-keys -X copy-pipe-and-cancel 'xclip -sel clip -i'
bind-key -T copy-mode-vi 'y' send-keys -X copy-pipe-and-cancel '${pkgs.wl-clipboard}/bin/wl-copy'
set -g status-right ""
setw -g status-style 'bg=colour0 fg=colour7'
setw -g status-style 'bg=terminal fg=colour7'
setw -g window-status-current-format '[#P:#W*] '
set-option -g history-limit 50000
bind-key C-a last-window
bind-key C-s run-shell 'export tmpfile=$(mktemp) && tmux capture-pane -pS -32768 > "$tmpfile" && tmux new-window "nvim $tmpfile"'
'';
};