dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit f204bcc75473b10031e997c9d6becf151e45b746
parent 3c2114b6131fa2eb4b9ea713cde1038f2833cb6f
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Sat, 18 Nov 2017 09:54:03 -0500

allow for repeated swap

Diffstat:
Mlinks/.tmux.conf | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/links/.tmux.conf b/links/.tmux.conf @@ -79,19 +79,19 @@ bind-key '"' split-window -c "#{pane_current_path}" bind-key '%' split-window -h -c "#{pane_current_path}" bind -r z resize-pane -Z # toggle pane zoom with <C-a>z -bind-key -r y next-layout # cycle to next pane layout with <C-a>y -bind-key -r Y previous-layout # cycle to previous pane layout with <C-a>Y -bind-key -r r rotate-window # rotate panes with <C-a>r +bind -r y next-layout # cycle to next pane layout with <C-a>y +bind -r Y previous-layout # cycle to previous pane layout with <C-a>Y +bind -r r rotate-window # rotate panes with <C-a>r -bind-key Left swap-window -t -1 -bind-key Right swap-window -t -1 +bind -r Left swap-window -t -1 # Swap window left +bind -r Right swap-window -t +1 # Swap window right #### CLIPBOARD # enable reattach-to-user-namespace which fixes pasteboard access and launchctl if-shell 'uname | grep -qi Darwin' 'set-option -g default-command "reattach-to-user-namespace -l zsh"' bind Space copy-mode # enter copy mode with <C-a><Space> -bind-key -T copy-mode-vi v send-keys -X begin-selection # start "visual" with v +bind -T copy-mode-vi v send-keys -X begin-selection # start "visual" with v # Copy (yank) with y if-shell 'uname | grep -qi Linux && which xclip > /dev/null' 'bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "DISPLAY=:0 xclip -i -sel clipboard"'