Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # First Tab =1
- set -g base-index 1
- # Scroll Limit
- set -g history-limit 10000
- # Enable mouse mode
- set -g mouse off
- # Don't rename windows automatically
- set-option -g allow-rename off
- # Change Prefix
- set -g prefix M-q
- bind M-q send-prefix
- # Split Panes
- bind -n M-D split-window -h
- bind -n M-S split-window -v
- # Create
- bind -n M-c new-window
- bind -n M-C new-session
- # Window/Client Navigation
- bind -n M-p switch-client -p
- bind -n M-n switch-client -n
- bind -n M-1 select-window -t :=1
- bind -n M-2 select-window -t :=2
- bind -n M-3 select-window -t :=3
- bind -n M-4 select-window -t :=4
- bind -n M-5 select-window -t :=5
- bind -n M-6 select-window -t :=6
- bind -n M-7 select-window -t :=7
- bind -n M-8 select-window -t :=8
- bind -n M-9 select-window -t :=9
- bind -n M-0 select-window -t :=10
- # Panes Navigation
- bind -n M-a select-pane -L
- bind -n M-d select-pane -R
- bind -n M-w select-pane -U
- bind -n M-s select-pane -D
- 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 -n M-l last-pane
- bind -n M-L last-window
- bind M-l switch-client -l
- bind M-L choose-client
- # Find Window
- bind M-f command-prompt "find-window '%%'"
- # Panes Transformation
- bind -n M-S-Right resize-pane -R 5
- bind -n M-S-Left resize-pane -L 5
- bind -n M-S-Up resize-pane -U 5
- bind -n M-S-Down resize-pane -D 5
- bind -n M-f resize-pane -Z
- bind -n M-f resize-pane -Z
- bind -n M-Space next-layout
- # Rename Tab
- bind -n M-r command-prompt 'rename-window %%'
- bind -n M-R command-prompt 'rename-session %%'
- # Scrolling
- bind -n Pageup copy-mode -u
- bind -n Pagedown send-keys Pagedown
- # Kill Pane/Session
- bind -n M-x kill-pane
- bind -n M-X confirm-before -p "Kill #S (y/n)?" "run-shell 'tmux switch-client -n \\\; kill-session -t \"\$(tmux display-message -p \"#S\")\"'"
- # Suspend Client
- bind M-z suspend-client
- #Refresh Client
- bind M-r refresh-client
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement