## Use vim keybindings in copy mode setw -g mouse on bind C-p previous-window bind C-n next-window # Source .tmux.conf as suggested in `man tmux` bind R source-file ~/.config/tmux/tmux.conf bind-key v copy-mode setw -g mode-keys vi bind P paste-buffer bind-key -T copy-mode-vi v send-keys -X begin-selection bind-key -T copy-mode-vi y send-keys -X rectangle-toggle bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel 'xclip -se c -i' #bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'xclip -se c -i' set-option -g history-limit 100000 # pane navigation avec ctrl+hjkl set -g @plugin 'christoomey/vim-tmux-navigator' # theme nord set -g @plugin "nordtheme/tmux" run '~/.config/tmux/plugins/tpm/tpm'