This commit is contained in:
DeveloperDurp 2025-04-08 07:05:48 -05:00
parent 3ce3e3927c
commit 8b9171e709
2 changed files with 17 additions and 1 deletions

View file

@ -112,7 +112,7 @@ bind T if-shell -F '#{==:#{session_name},popup}' {
bind S if-shell -F '#{==:#{session_name},scratch}' {
detach-client
} {
display-popup -d "#{pane_current_path}" -xC -yC -w 80% -h 75% -E 'tmux attach-session -t scratch || tmux new-session -s scratch nvim new'
display-popup -d "#{pane_current_path}" -xC -yC -w 80% -h 75% -E ". $HOME/.config/scripts/sessions.sh scratch"
}
bind N if-shell -F '#{==:#{session_name},notes}' {