Updated tmux configuration

This commit is contained in:
2023-03-12 23:03:35 -04:00
parent 80a28fded6
commit 15fe3f52a9

View File

@@ -47,14 +47,18 @@ bind m set monitor-activity
bind y set synchronize-panes\; display 'synchronize-panes #{?synchronize-panes,on,off}'
# Better split pane
bind h splitw -h
bind v splitw -v
bind | splitw -h
bind - splitw -v
# Use Alt-arrow keys to navigate panes
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
bind -T prefix j select-pane -D
bind -T prefix k select-pane -U
bind -T prefix h select-pane -L
bind -T prefix l select-pane -R
# Use Shift-arrow keys to navigate windows.
bind -n S-Left previous-window
@@ -62,7 +66,7 @@ bind -n S-Right next-window
# reload new changes
#bind-key R source-file ~/.tmux.conf\; \display-message "sorce-file done"
bind-key R source-file ~/.tmux.conf\; \display-message "sorce-file done"
# Create a single default session - because a session is created here, tmux