aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorAlexis Hovorka <[email protected]>2021-07-04 15:10:11 -0600
committerAlexis Hovorka <[email protected]>2021-07-04 15:10:11 -0600
commit20bb7b80d9decc521d6a0e3948d0d21cbf8c2553 (patch)
tree578fc25a3972d52078c00affdb8b404a75326d77 /base
parentc864d5d1c54a38757a83f7fd723f4242f49841e8 (diff)
[feat] Create new tmux window on ^A-n instead of looping
Diffstat (limited to 'base')
-rw-r--r--base/tmux.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/tmux.conf b/base/tmux.conf
index 3aa853a..17868df 100644
--- a/base/tmux.conf
+++ b/base/tmux.conf
@@ -76,7 +76,8 @@ bind -r C-h resizep -L
bind -r C-j resizep -D
bind -r C-k resizep -U
bind -r C-l resizep -R
-# TODO Create new window instead of cycling?
+
+bind n if "test #I = #{session_windows}" "neww" "next"
unbind %
unbind "'"