Currently I'll often do prefix-cprefix-, to open a new window then rename it. I would like to make prefix-c automatically ask for a name for the new window.
Basically I want it to behave as if I'd entered prefix-:new-window -n
.How do I map prefix-c to that command?
I've tried adding bind-key c 'new-window -n'
to my ~/.tmux.conf but that doesn't work.