mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
Updated tmux configuration
This commit is contained in:
@@ -47,14 +47,18 @@ bind m set monitor-activity
|
|||||||
bind y set synchronize-panes\; display 'synchronize-panes #{?synchronize-panes,on,off}'
|
bind y set synchronize-panes\; display 'synchronize-panes #{?synchronize-panes,on,off}'
|
||||||
|
|
||||||
# Better split pane
|
# Better split pane
|
||||||
bind h splitw -h
|
bind | splitw -h
|
||||||
bind v splitw -v
|
bind - splitw -v
|
||||||
|
|
||||||
# Use Alt-arrow keys to navigate panes
|
# Use Alt-arrow keys to navigate panes
|
||||||
bind -n M-Left select-pane -L
|
bind -n M-Left select-pane -L
|
||||||
bind -n M-Right select-pane -R
|
bind -n M-Right select-pane -R
|
||||||
bind -n M-Up select-pane -U
|
bind -n M-Up select-pane -U
|
||||||
bind -n M-Down select-pane -D
|
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.
|
# Use Shift-arrow keys to navigate windows.
|
||||||
bind -n S-Left previous-window
|
bind -n S-Left previous-window
|
||||||
@@ -62,7 +66,7 @@ bind -n S-Right next-window
|
|||||||
|
|
||||||
|
|
||||||
# reload new changes
|
# 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
|
# Create a single default session - because a session is created here, tmux
|
||||||
|
|||||||
Reference in New Issue
Block a user