From badbf2a2be7344b8d968a5e06b16143da44bf171 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Thu, 21 Oct 2021 09:05:21 -0600 Subject: Switch tmux bindings around so splits match vim --- stow/tmux/.tmux.conf | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'stow') diff --git a/stow/tmux/.tmux.conf b/stow/tmux/.tmux.conf index fc24203..5cbf1ad 100644 --- a/stow/tmux/.tmux.conf +++ b/stow/tmux/.tmux.conf @@ -7,9 +7,9 @@ unbind '"' unbind % bind '"' split-window -v -c "#{pane_current_path}" -bind C-f split-window -v -c "#{pane_current_path}" +bind C-s split-window -v -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" -bind C-c split-window -h -c "#{pane_current_path}" +bind C-v split-window -h -c "#{pane_current_path}" # Vim movements bind C-h select-pane -L bind C-j select-pane -D @@ -25,8 +25,6 @@ bind n run-shell "~/.tmux/scripts/rolodex next" bind p run-shell "~/.tmux/scripts/rolodex prev" bind C-m run-shell "~/.tmux/scripts/rolodex toggle" bind C-e run-shell "~/.tmux/scripts/rolodex new" -# Bind the last window/pane command -bind C-b last-pane # Faster window switching bind C-n next-window bind C-p previous-window @@ -34,7 +32,7 @@ bind S switch-client -l # Synchronize mode bind a set-window-option synchronize-panes # Remap zoom, sleeping tmux way too much -bind C-v resize-pane -Z +bind C-b resize-pane -Z # I constantly mix up copy/paste. Very annoying/dangerous if cliboard has commands in it unbind [ bind C-g copy-mode -- cgit v1.2.3