diff --git a/f-keys b/f-keys index e607077..2a5cb83 100644 --- a/f-keys +++ b/f-keys @@ -31,10 +31,5 @@ bind-key W resize-pane -U 5 bind-key A resize-pane -L 5 bind-key D resize-pane -R 5 -# move windows -bind-key Left swap-window -t -1\; select-window -t -1 -bind-key Right swap-window -t +1\; select-window -t +1 - - # reload config file bind r source-file ~/.tmux.conf diff --git a/tmux-2.9.conf b/tmux-2.9.conf index bd0e50d..0bf0069 100644 --- a/tmux-2.9.conf +++ b/tmux-2.9.conf @@ -10,6 +10,10 @@ set -g default-terminal "screen-256color" # source ~/fmux/f-keys, which adds the useful byobu F-key shortcuts source ~/fmux/f-keys +# keys for moving windows +bind-key -n Left swap-window -t -1 +bind-key -n Right swap-window -t +1 + # pane border colors set -g pane-border-style fg=black diff --git a/tmux.conf b/tmux.conf index 57ce223..805a30e 100644 --- a/tmux.conf +++ b/tmux.conf @@ -10,6 +10,10 @@ set -g default-terminal "screen-256color" # source ~/fmux/f-keys, which adds the useful byobu F-key shortcuts source ~/fmux/f-keys +# keys for window movement +bind-key Left swap-window -t -1\; select-window -t -1 +bind-key Right swap-window -t +1\; select-window -t +1 + # pane border colors set -g pane-border-fg black