aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-10-22 20:11:26 +0200
committersrdusr <trevorgray@srdusr.com>2023-10-22 20:11:26 +0200
commitcfad90ec8221764d366d17299ed0a2b34ebd734b (patch)
treee3df73ac6de0683dd16ba712b1ed9031e058db76 /.config
parent8c446d04c7785994c4331b813fa61072c246e4e7 (diff)
downloaddotfiles-cfad90ec8221764d366d17299ed0a2b34ebd734b.tar.gz
dotfiles-cfad90ec8221764d366d17299ed0a2b34ebd734b.zip
Testing nested tmux session settings
Diffstat (limited to '.config')
-rw-r--r--.config/tmux/tmux.conf7
1 files changed, 3 insertions, 4 deletions
diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf
index 0ead12f..933c9b5 100644
--- a/.config/tmux/tmux.conf
+++ b/.config/tmux/tmux.conf
@@ -128,7 +128,6 @@ bind -n M-0 select-window -t :=0
is_vim="ps -o state= -o comm= -t '#{pane_tty}' | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|l?n?vim?x?)(diff)?$'"
bind-key -n 'C-h' if-shell "$is_vim" 'send-keys C-h' 'select-pane -L'
-bind-key -n 'C-h' if-shell "$is_vim" 'send-keys C-h' 'select-pane -L'
bind-key -n 'C-j' if-shell "$is_vim" 'send-keys C-j' 'select-pane -D'
bind-key -n 'C-k' if-shell "$is_vim" 'send-keys C-k' 'select-pane -U'
bind-key -n 'C-l' if-shell "$is_vim" 'send-keys C-l' 'select-pane -R'
@@ -147,8 +146,8 @@ bind-key -T copy-mode-vi 'C-l' select-pane -R
bind-key -T copy-mode-vi 'C-\' select-pane -l
# Change horizontal split <Prefix>% and Vertical split <Prefix>" to <Prefix>h and <Prefix>v respectively and change current working directory
-bind v split-window -h -c "#{pane_current_path}"
-bind h split-window -v -c "#{pane_current_path}"
+bind | split-window -h -c "#{pane_current_path}"
+bind - split-window -v -c "#{pane_current_path}"
# Pane resizing, <Prefix> then shift + vi-directional keys, default is D,U,L,R
bind -r H resize-pane -L 20
@@ -167,7 +166,7 @@ bind-key ! break-pane -d -n _hidden_pane
bind-key @ join-pane -s $.0
# Send Pane to another session/window
-bind-key j command-prompt -p "send pane to:" "join-pane -t '%%'"
+#bind-key j command-prompt -p "send pane to:" "join-pane -t '%%'"
#――――――――――――――――――――――――――――――――――――――――――