Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Change the prefix to C-a from C-b │dev-dsk-mjdillon-2b-cc6b2074 % goodmorning
- set -g prefix C-a │Password for mjdillon@ANT.AMAZON.COM:
- unbind C-b │
- │(17-02-27 17:48:00) <0> [~]
- # Set the delay between prefix and command │dev-dsk-mjdillon-2b-cc6b2074 %
- set -s escape-time 1 │
- │
- # Set the base index for windows to 1 instead of 0 │
- set -g base-index 1 │
- │
- # Set the base index for panes to 1 instead of 0 │
- setw -g pane-base-index 1 │
- │
- # Reload .tmux.conf │
- bind r source-file ~/.tmux.conf \; display "~/.tmux.conf reloaded!" │
- │
- # Ensure that we can send C-a to other apps │
- bind C-a send-prefix │
- │
- # Splitting panes with | and - │
- bind | split-window -h │
- bind - split-window -v │
- │
- # Ahhh, vimmy │
- bind h select-pane -L │
- bind j select-pane -D │
- bind k select-pane -U │
- bind l select-pane -R │
- │
- # Move between windows │
- bind -r C-h select-window -t :- │
- bind -r C-l select-window -t :+ │
- │
- # Resizing panes │
- bind -r H resize-pane -L 5 │
- bind -r J resize-pane -D 5 │
- bind -r K resize-pane -U 5 │
- bind -r L resize-pane -R 5 │
- │
- # Turn on the mouse │
- set -g mouse off
- # Set the default terminal │
- set -g default-terminal "screen-256color" │
- │
- # Set the status line's colors │
- set -g status-style fg=colour231,bg=colour238 │
- │
- # enable vi keys. │
- setw -g mode-keys vi │
- │
- # map copy/paste to vim keys │
- bind Escape copy-mode │
- bind -t vi-copy 'v' begin-selection │
- bind -t vi-copy 'y' copy-selection │
- unbind p │
- bind p paste-buffer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement