tmux resize mappings

This commit is contained in:
thek4n 2024-03-27 02:44:44 +03:00
parent b72c9b2792
commit 1d4cc70783
2 changed files with 7 additions and 1 deletions

View File

@ -33,6 +33,12 @@ bind -n M-Enter split-window -h -c "#{pane_current_path}"
bind | split-window -h -c "#{pane_current_path}" bind | split-window -h -c "#{pane_current_path}"
bind \\ split-window -v -c "#{pane_current_path}" bind \\ split-window -v -c "#{pane_current_path}"
# Resizing
bind -n C-M-l resize-pane -R
bind -n C-M-h resize-pane -L
bind -n C-M-j resize-pane -D
bind -n C-M-k resize-pane -U
# Copy mode # Copy mode
setw -g mode-keys vi setw -g mode-keys vi

View File

@ -11,7 +11,7 @@ set -g base-index 1 # Window numbering starts at 1
set -g pane-base-index 1 # Pane numbering starts at 1 set -g pane-base-index 1 # Pane numbering starts at 1
set -g renumber-windows on # Make windows auto renumber set -g renumber-windows on # Make windows auto renumber
set -g history-limit 10000 # Scroll back history set -g history-limit 100000 # Scroll back history
setw -g aggressive-resize on # Resize windows on diff clients setw -g aggressive-resize on # Resize windows on diff clients
set -g display-panes-time 4000 # Increase show pane time set -g display-panes-time 4000 # Increase show pane time