mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-13 22:02:34 +00:00
feat: Adds email keybind to tmux config, updates tmux-sessionator to skip choosing if an argument is passed in so the tss alias works better.
This commit is contained in:
4
env/.local/scripts/tmux-sessionator
vendored
4
env/.local/scripts/tmux-sessionator
vendored
@@ -58,12 +58,12 @@ function create_email_session() {
|
||||
tmux send-keys -t email.1 'i2'
|
||||
}
|
||||
|
||||
#################### MAIN ####################
|
||||
############################## MAIN ##############################
|
||||
|
||||
declare choose="${chooseOpt[-1]}"
|
||||
declare selected=
|
||||
|
||||
if [[ -n $choose ]]; then
|
||||
if [[ -n $choose ]] && [[ $# -eq 0 ]]; then
|
||||
debug_print "Choose from existing."
|
||||
selected=$(
|
||||
tmux list-sessions -F \#S | gum filter \
|
||||
|
||||
3
env/.tmux.conf
vendored
3
env/.tmux.conf
vendored
@@ -74,8 +74,9 @@ bind l next-window
|
||||
bind -n C-M-h previous-window
|
||||
bind -n C-M-l next-window
|
||||
|
||||
bind e run-shell "tmux-sessionator --email"
|
||||
bind f run-shell "tmux display-popup -E -w 80% -h 80% $SCRIPTS/tmux-sessionator"
|
||||
bind-key -r C run-shell -b "~/.local/share/scripts/tmux-sessionator ~/.dotfiles"
|
||||
bind-key -r C run-shell -b "$SCRIPTS/tmux-sessionator $DOTFILES"
|
||||
unbind s
|
||||
bind s run-shell -b "~/.tmux/plugins/tmux-fzf/scripts/session.sh switch"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user