tpm icon indicating copy to clipboard operation
tpm copied to clipboard

Window naming issue - reattach-to-user-namespace

Open derBingle opened this issue 8 years ago • 1 comments

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'

derBingle avatar Mar 21 '17 00:03 derBingle

Same issue.. did you found a workaround?

Producdevity avatar Mar 05 '18 19:03 Producdevity