tmux aliases

This commit is contained in:
Daniel Fichtinger 2024-11-04 12:31:49 -05:00
parent 9a9a1a116a
commit d1ae00cd22
2 changed files with 13 additions and 1 deletions

View file

@ -42,6 +42,9 @@ bind-key b set-option status
bind v split-window -v -c "#{pane_current_path}"
bind h split-window -h -c "#{pane_current_path}"
bind C-x kill-session
bind S command-prompt -p "rename session:" "rename-session '%%'"
bind W command-prompt -p "rename window:" "rename-window '%%'"
# Joining and sending
bind-key j command-prompt -p "join pane from:" "join-pane -s '%%'"

11
.zshrc
View file

@ -12,7 +12,16 @@ alias top=btop
alias v=nvim
alias testvim='NVIM_APPNAME=nvim-test nvim'
alias lg=lazygit
alias t=tmux
# tmux aliases
alias t="tmux"
alias ta="tmux attach-session"
alias tat="tmux attach-session -t"
alias tka="tmux kill-session -a"
alias tkt="tmux kill-session -t"
alias tl="tmux list-sessions"
alias tn="tmux new-session"
alias tnt="tmux new-session -t"
bindkey -r '^T'
# Created by `pipx` on 2024-09-20 02:14:00