aboutsummaryrefslogtreecommitdiff
path: root/etc/tmux/tmux.conf
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-08-12 19:16:03 -0300
committerEuAndreh <eu@euandre.org>2022-08-12 19:16:03 -0300
commitec190678bdaba821e2128d3211b959634766eaee (patch)
tree72e9628ef415a4205e4dde08c9f1e7d30f802c9b /etc/tmux/tmux.conf
parentetc/i3status/config: Add "general" section (diff)
downloaddotfiles-ec190678bdaba821e2128d3211b959634766eaee.tar.gz
dotfiles-ec190678bdaba821e2128d3211b959634766eaee.tar.xz
etc/tmux/tmux.conf: Add navigation keybindings
Diffstat (limited to 'etc/tmux/tmux.conf')
-rw-r--r--etc/tmux/tmux.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/tmux/tmux.conf b/etc/tmux/tmux.conf
index 708feef..f2da33b 100644
--- a/etc/tmux/tmux.conf
+++ b/etc/tmux/tmux.conf
@@ -15,6 +15,10 @@ bind-key r source-file $XDG_CONFIG_HOME/tmux/tmux.conf \; display-message "$XDG_
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe "xclip -selection clipboard -i" \;
bind-key y send-keys -X copy-pipe "xclip -selection clipboard -i" \; display-message "Copied system clipboard! Hooray! Long-live tmux!"
+# Moving around windows
+bind-key -n M-[ previous-window
+bind-key -n M-] next-window
+
# Moving around panes
bind-key -n M-h select-pane -L
bind-key -n M-j select-pane -D