2 Commits

Author SHA1 Message Date
  Tovi Jaeschke-Rogers 95f92bac49 Merge branch 'master' of git.tovijaeschke.xyz:tovi/dotfiles 1 week ago
  Tovi Jaeschke-Rogers a20d1c68af fix: use xclip for clipboard in tmux 1 week ago
1 changed files with 10 additions and 0 deletions
Split View
  1. +10
    -0
      .tmux.conf

+ 10
- 0
.tmux.conf View File

@ -51,6 +51,16 @@ bind-key -T copy-mode-vi 'y' send -X copy-selection
bind 'V' copy-mode
# Enable clipboard integration
set-option -g set-clipboard on
# Use xclip for copying text in copy mode
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -in"
bind-key -T copy-mode y send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -in"
# Shortcut for manual copying outside of copy mode
bind-key C-c run-shell "tmux save-buffer - | xclip -selection clipboard -in"
# Enable mouse control (clickable windows, panes, resizable panes)
set -g mouse on


Loading…
Cancel
Save