summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--paru/.config/paru/paru.conf2
-rw-r--r--tmux/.config/tmux/tmux.conf33
2 files changed, 22 insertions, 13 deletions
diff --git a/paru/.config/paru/paru.conf b/paru/.config/paru/paru.conf
index 96092fa..b821ae7 100644
--- a/paru/.config/paru/paru.conf
+++ b/paru/.config/paru/paru.conf
@@ -1,5 +1,3 @@
-# vim:ft=toml
-
[options]
PgpFetch
Devel
diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf
index fda5bd5..f6444b7 100644
--- a/tmux/.config/tmux/tmux.conf
+++ b/tmux/.config/tmux/tmux.conf
@@ -23,16 +23,27 @@ bind-key -N "Switch" w choose-tree -Zws -F \
"#(echo '#{tree_mode_format}' | sed 's%##{session_windows} windows%##{s|$HOME|~|:session_path}%')"
# i3/sway style window navigation
-bind-key '!' if-shell 'tmux swapw -t :1 -d' '' 'movew -t :1'
-bind-key '@' if-shell 'tmux swapw -t :2 -d' '' 'movew -t :2'
-bind-key '#' if-shell 'tmux swapw -t :3 -d' '' 'movew -t :3'
-bind-key '$' if-shell 'tmux swapw -t :4 -d' '' 'movew -t :4'
-bind-key '%' if-shell 'tmux swapw -t :5 -d' '' 'movew -t :5'
-bind-key '^' if-shell 'tmux swapw -t :6 -d' '' 'movew -t :6'
-bind-key '&' if-shell 'tmux swapw -t :7 -d' '' 'movew -t :7'
-bind-key '*' if-shell 'tmux swapw -t :8 -d' '' 'movew -t :8'
-bind-key '(' if-shell 'tmux swapw -t :9 -d' '' 'movew -t :9'
-bind-key ')' if-shell 'tmux swapw -t :0 -d' '' 'movew -t :0'
+bind-key '1' if-shell 'tmux selectw -t :=1' '' 'neww -t :=1'
+bind-key '2' if-shell 'tmux selectw -t :=2' '' 'neww -t :=2'
+bind-key '3' if-shell 'tmux selectw -t :=3' '' 'neww -t :=3'
+bind-key '4' if-shell 'tmux selectw -t :=4' '' 'neww -t :=4'
+bind-key '5' if-shell 'tmux selectw -t :=5' '' 'neww -t :=5'
+bind-key '6' if-shell 'tmux selectw -t :=6' '' 'neww -t :=6'
+bind-key '7' if-shell 'tmux selectw -t :=7' '' 'neww -t :=7'
+bind-key '8' if-shell 'tmux selectw -t :=8' '' 'neww -t :=8'
+bind-key '9' if-shell 'tmux selectw -t :=9' '' 'neww -t :=9'
+bind-key '0' if-shell 'tmux selectw -t :=0' '' 'neww -t :=0'
+
+bind-key '!' if-shell 'tmux swapw -d -t :=1' '' 'movew -t :=1'
+bind-key '@' if-shell 'tmux swapw -d -t :=2' '' 'movew -t :=2'
+bind-key '#' if-shell 'tmux swapw -d -t :=3' '' 'movew -t :=3'
+bind-key '$' if-shell 'tmux swapw -d -t :=4' '' 'movew -t :=4'
+bind-key '%' if-shell 'tmux swapw -d -t :=5' '' 'movew -t :=5'
+bind-key '^' if-shell 'tmux swapw -d -t :=6' '' 'movew -t :=6'
+bind-key '&' if-shell 'tmux swapw -d -t :=7' '' 'movew -t :=7'
+bind-key '*' if-shell 'tmux swapw -d -t :=8' '' 'movew -t :=8'
+bind-key '(' if-shell 'tmux swapw -d -t :=9' '' 'movew -t :=9'
+bind-key ')' if-shell 'tmux swapw -d -t :=0' '' 'movew -t :=0'
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
@@ -46,7 +57,7 @@ if "test ! -d $XDG_CONFIG_HOME/tmux/plugins/tpm" \
run '$XDG_CONFIG_HOME/tmux/plugins/tpm/tpm'
set -g status-left-length 30
-set -g status-left "#[bg=#A89984, fg=#3C3836]#{?client_prefix,#[bg=#fe8019],#[bg=#A89984]} #{s|~/||:#{s|$HOME|~|:session_path}} "
+set -g status-left "#[bg=#A89984, fg=#3C3836]#{?client_prefix,#[bg=#fe8019],#[bg=#A89984]} #{s|$HOME|~|:session_path} "
%if #{m:*ssh,#{socket_path}}
source "$XDG_CONFIG_HOME/tmux/ssh.conf"