This commit is contained in:
DeveloperDurp 2025-04-02 05:52:16 -05:00
parent f2452ef445
commit dcd5677fb1
3 changed files with 44 additions and 1 deletions

View file

@ -1,3 +1,4 @@
set-option -g default-shell /bin/zsh
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
#set-option -sa terminal-overrides ",xterm*:Tc"
set -g mouse on
@ -72,12 +73,14 @@ bind '"' split-window -v -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
bind C-n display-popup -E "$HOME/.config/scripts/new-session.sh"
bind C-s display-popup -E "\
tmux list-sessions -F '#{?session_attached,,#{session_name}}' |\
sed '/^$/d' |\
fzf --reverse --header jump-to-session --preview 'tmux capture-pane -pt {}' \
--bind 'enter:execute(tmux switch-client -t {})+accept'"
bind C-g display-popup -E "lazygit"
bind g display-popup -E "lazygit"
run '~/.tmux/plugins/tpm/tpm'