olimorris / tmux-pomodoro-plus

🍅 Incorporate the Pomodoro technique into your tmux workflow
MIT License
327 stars 27 forks source link

Change default pomodoro_toggle/pomodoro_cancel issue #45

Open nicolas-g opened 4 months ago

nicolas-g commented 4 months ago

Hi, I have the bellow biding on my tmux config to move to the previous window

bind C-p previous-window

Since this is conflicting with the pomodoro plugin biding and I didn't want to change it , I changed the pomodoro bellow defaults to:

set -g @pomodoro_toggle 'P'                    # Start/pause a Pomodoro/break
set -g @pomodoro_cancel '^'                     # Cancel the current session

Now the C-P will start/pause a Pomodoro/break, however I was expecting the lowercase C-p to go to the previous windows as defined on top, it has the same effect as the upper case C-P. Basically C-P and C-p are now the same.

I would like to make the C-p previous-window active, and the C-P to Start/pause a Pomodoro/break.