Verified Commit 7e69eec2 authored by gagbo's avatar gagbo
Browse files

Try better tmux settings

parent 33c026d6
...@@ -20,9 +20,12 @@ set-window-option -g xterm-keys on ...@@ -20,9 +20,12 @@ set-window-option -g xterm-keys on
bind Escape copy-mode bind Escape copy-mode
# bind -T vi-copy v begin-selection # bind -T vi-copy v begin-selection
# bind -T vi-copy y copy-selection # bind -T vi-copy y copy-selection
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
bind-key -T copy-mode-vi y send-keys -X copy-selection
bind -T vi-copy y copy-pipe "xclip -sel clip -i"
unbind C-y unbind C-y
bind C-y paste-buffer bind C-y paste-buffer
bind C-c run "tmux save-buffer - | xclip -i -sel clipboard"
bind C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer" bind C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer"
# Setting delay between prefix and command # Setting delay between prefix and command
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment