I have the following keybinding in my .tmux.conf. Before invoking any copycat related command, my keybindings work as usual, but after it looks like messed up. I cannot flip between windows using F11/F12, or even use other defined keybinding such as prefix + r to reload configurations.
# change escape to c-a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# F11 and F12 to switch between windows
bind -n F11 previous-window
bind -n F12 next-window
# C-c also create new window, like in screen
bind C-c new-window
# (prefix k) to kill window
unbind &
unbind C-k
unbind k
bind k confirm-before -p "Do you really want to kill #W? (y/n)" kill-window
# use r to reload configuration
unbind r
bind r source-file ~/.tmux.conf \; display "Configuration reloaded!"
# Use Vi mode
setw -g mode-keys vi
# vi like copying
bind -t vi-copy v begin-selection
bind -t vi-copy y copy-pipe "$XCLIP"
bind -t vi-copy Y copy-end-of-line
# use p to paste
bind p paste-buffer
I have the following keybinding in my
.tmux.conf
. Before invoking any copycat related command, my keybindings work as usual, but after it looks like messed up. I cannot flip between windows using F11/F12, or even use other defined keybinding such asprefix + r
to reload configurations.