Update tmux-sessionizer and binds for session management
This commit is contained in:
@ -21,10 +21,13 @@ bind -r l select-pane -R
|
||||
bind r source-file "~/.config/tmux/tmux.conf" \; display-message "tmux.conf reloaded"
|
||||
|
||||
# kill the current session
|
||||
bind Q rename-session zzzz-temp-kill\; switch-client -p\; kill-session -t zzzz-temp-kill
|
||||
bind-key Q rename-session zzzz-temp-kill\; switch-client -p\; kill-session -t zzzz-temp-kill
|
||||
bind-key W kill-session
|
||||
|
||||
# use tmux-sessionizer in place of f find
|
||||
bind-key -r f run-shell "tmux neww ~/.local/bin/tmux-sessionizer"
|
||||
# custom find using tmux-sessionizer
|
||||
unbind-key f
|
||||
bind-key f run-shell "tmux neww ~/.local/bin/tmux-sessionizer existing"
|
||||
bind-key F run-shell "tmux neww ~/.local/bin/tmux-sessionizer"
|
||||
|
||||
# bind -r D neww -c "#{pane_current_path}" "[[ -e TODO.md ]] && $EDITOR TODO.md || $EDITOR ~/personal/dev/todo.md"
|
||||
|
||||
|
Reference in New Issue
Block a user