summaryrefslogtreecommitdiffstats
path: root/tmux.nix
diff options
context:
space:
mode:
authorSkullheadx <admonty1@protonmail.com>2026-04-25 21:34:06 -0400
committerSkullheadx <admonty1@protonmail.com>2026-04-25 21:34:06 -0400
commitf351ef00f77e5ea4d082a7eff86d7845dad7d9e0 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /tmux.nix
parentbluetooth (diff)
downloadnixos-f351ef00f77e5ea4d082a7eff86d7845dad7d9e0.tar.gz
nixos-f351ef00f77e5ea4d082a7eff86d7845dad7d9e0.tar.bz2
nixos-f351ef00f77e5ea4d082a7eff86d7845dad7d9e0.zip
remove all
Diffstat (limited to '')
-rw-r--r--tmux.nix78
1 files changed, 0 insertions, 78 deletions
diff --git a/tmux.nix b/tmux.nix
deleted file mode 100644
index 9ed3ffd..0000000
--- a/tmux.nix
+++ /dev/null
@@ -1,78 +0,0 @@
-{
- config,
- pkgs,
- ...
-}:
-{
- programs.tmux = {
- enable = true;
- shell = "${pkgs.fish}/bin/fish";
- terminal = "xterm-ghostty";
- historyLimit = 10000;
- baseIndex = 1;
- clock24 = true;
- disableConfirmationPrompt = true;
- mouse = true;
- newSession = true;
- plugins = with pkgs.tmuxPlugins; [
- sensible
- vim-tmux-navigator
- ];
-
- extraConfig = ''
- unbind %
- unbind '"'
- bind -n M-\\ split-window -h -c "#{pane_current_path}"
- bind -n M-- split-window -v -c "#{pane_current_path}"
-
- bind -n M-c new-window -c "#{pane_current_path}"
- bind -n M-q kill-window
- bind -n M-w kill-pane
- bind -n M-r command-prompt -I "#W" "rename-window '%%'"
- bind -n M-Space display-popup -E "\
- tmux list-sessions -F '#{session_name}' 2>/dev/null | \
- fzf --reverse \
- --header='Alt+Space → Switch or Mreate Session' \
- --border=rounded \
- --height=40% \
- --print-query \
- --preview='tmux capture-pane -p -t {} 2>/dev/null || echo \"(new session)\"' | \
- tail -1 | \
- xargs -I {} sh -c '\
- if tmux has-session -t \"{}\" 2>/dev/null; then \
- tmux switch-client -t \"{}\"; \
- else \
- tmux new-session -d -s \"{}\" && tmux switch-client -t \"{}\"; \
- fi' \
- set -g escape-time 0
- set -sg repeat-time 1000
- bind r source-file ~/.config/tmux/tmux.conf \; display "Monfig reloaded!"
-
-
- bind -n M-1 select-window -t 1
- bind -n M-2 select-window -t 2
- bind -n M-3 select-window -t 3
- bind -n M-4 select-window -t 4
- bind -n M-5 select-window -t 5
- bind -n M-6 select-window -t 6
- bind -n M-7 select-window -t 7
- bind -n M-8 select-window -t 8
- bind -n M-9 select-window -t 9
-
- bind -n M-h select-pane -L
- bind -n M-j select-pane -D
- bind -n M-k select-pane -U
- bind -n M-l select-pane -R
-
- bind -n M-H swap-pane -U
- bind -n M-J swap-pane -D
- bind -n M-K swap-pane -U
- bind -n M-L swap-pane -D
-
- '';
- };
-
- home.packages = with pkgs; [
- tmux
- ];
-}