Created
August 31, 2025 09:18
-
-
Save sirgallifrey/5de9b80ae213a0b52741ea268fe8bb1f to your computer and use it in GitHub Desktop.
.tmux.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| setw -g mouse on | |
| set -g default-terminal "tmux-256color" | |
| set-option -g prefix C-a | |
| # bind-key -n "C-q" display-popup -E -w 40% "sesh connect \"$( | |
| # sesh list -i | gum filter --limit 1 --placeholder 'Pick a sesh' --height 50 --prompt='β‘ ' --no-strip-ansi | |
| # )\"" | |
| bind-key -n "C-q" run-shell "sesh connect \"$( | |
| sesh list --icons -T -t -c | fzf-tmux -p 80%,70% \ | |
| --no-sort --ansi --border-label ' sesh ' --prompt 'β‘ ' \ | |
| --header ' ^a all ^t tmux ^g configs ^x zoxide ^d tmux kill ^f find' \ | |
| --bind 'tab:down,btab:up' \ | |
| --bind 'ctrl-a:change-prompt(β‘ )+reload(sesh list --icons)' \ | |
| --bind 'ctrl-t:change-prompt(πͺ )+reload(sesh list -t --icons)' \ | |
| --bind 'ctrl-g:change-prompt(βοΈ )+reload(sesh list -c --icons)' \ | |
| --bind 'ctrl-x:change-prompt(π )+reload(sesh list -z --icons)' \ | |
| --bind 'ctrl-f:change-prompt(π )+reload(fd -H -d 2 -t d -E .Trash . ~)' \ | |
| --bind 'ctrl-d:execute(tmux kill-session -t {2..})+change-prompt(β‘ )+reload(sesh list --icons)' \ | |
| --preview-window 'right:55%' \ | |
| --preview 'sesh preview {}' | |
| )\"" | |
| bind-key -n C-S-Left previous-window | |
| bind-key -n C-S-Right next-window | |
| # conflics with something else on nvim | |
| # and C-s for choose session is enough for me | |
| # bind-key -n C-w choose-tree | |
| bind-key -n C-s choose-session | |
| bind-key -n C-S-w choose-window | |
| bind-key x kill-session # skip kill pane prompt | |
| set -g detach-on-destroy off | |
| bind -N "last-session (via sesh) " L run-shell "sesh last" | |
| set -g base-index 1 | |
| set -g pane-base-index 1 | |
| set-window-option -g pane-base-index 1 | |
| set-option -g renumber-windows on | |
| set-option -g status-position top | |
| set -g @plugin 'tmux-plugins/tpm' | |
| set -g @plugin 'tmux-plugins/tmux-sensible' | |
| set -g @plugin 'omerxx/tmux-sessionx' | |
| set -g @sessionx-bind 'T' | |
| set -g @plugin 'rose-pine/tmux' | |
| set -g @rose_pine_variant 'main' | |
| run '~/.tmux/plugins/tpm/tpm' | |
| set -g status-bg default | |
| set -g status-style bg=default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment