tmux-plugins / tpm

Tmux Plugin Manager
MIT License
12.21k stars 429 forks source link

Window naming issue - reattach-to-user-namespace #108

Open derBingle opened 7 years ago

derBingle commented 7 years ago

I'm using what the pasteboard folks call Fine-Grained Usage to get copy/paste working instead of the default-command approach. I've also bound <prefix> c to ask for a window name because I like to keep things neat and organized. 😄

When tpm is included, hitting <prefix> c ignores the bind-key settings and defaults to it's regular behavior, creating a window named "reattach-to-user-namespace". When commented out, everything works as expected.

Relevant tmux.conf settings:

# Setup 'v' to begin selection as in Vim
bind-key -t vi-copy v begin-selection
bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"

# Ask for name when creating new window
unbind c
bind-key c command-prompt -p "Name of new window: " "new-window -n '%%'"

# Don't automatically rename the windows
set-window-option -g automatic-rename off

# Use tpm for plugin management. **Must stay at bottom of file**
run '~/.dotfiles/tmux/plugins/tpm/tpm'
Producdevity commented 6 years ago

Same issue.. did you found a workaround?