Small keybind changes to tmux

This commit is contained in:
Martin Larsson 2025-05-11 16:26:50 +02:00
parent 7fe1eb68fa
commit d5735692d2

View file

@ -35,9 +35,9 @@ bind-key -n M-d run-shell "~/.config/tmux/tmux-fuzzy-find-session.sh"
# Split window, change keybindings to match vim concept of splits # Split window, change keybindings to match vim concept of splits
bind-key -n M-V split-window -h -c "#{pane_current_path}" bind-key -n M-V split-window -h -c "#{pane_current_path}"
bind-key -n M-H split-window -v -c "#{pane_current_path}" bind-key -n M-S split-window -v -c "#{pane_current_path}"
bind-key -n M-q kill-pane bind-key -n M-q kill-pane
bind-key -n M-f resize-pane -Z bind-key -n M-F resize-pane -Z
bind-key -n M-s command-prompt -p "New session: " "run-shell '~/.config/tmux/tmux-create-session.sh '%%''" bind-key -n M-s command-prompt -p "New session: " "run-shell '~/.config/tmux/tmux-create-session.sh '%%''"
bind-key -n M-w new-window -c "#{pane_current_path}" bind-key -n M-w new-window -c "#{pane_current_path}"
bind-key -n M-r command-prompt -p "Rename window:" "rename-window '%%'" bind-key -n M-r command-prompt -p "Rename window:" "rename-window '%%'"