Capture
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
set-option -g prefix C-b
|
||||
set -g mouse on
|
||||
|
||||
# General settings
|
||||
set -g base-index 1 # start windows at 1
|
||||
setw -g pane-base-index 1 # start panes at 1
|
||||
set -g renumber-windows on # renumber windows when one is closed
|
||||
setw -g mode-keys vi # use vim keys in copy mode
|
||||
set-option -g status-position top
|
||||
|
||||
# Key bindings
|
||||
bind r source-file ~/.tmux.conf \; display "Config Reloaded!"
|
||||
|
||||
bind-key "|" split-window -h -c "#{pane_current_path}"
|
||||
bind-key C-| split-window -h -c "#{pane_current_path}"
|
||||
bind-key "\\" split-window -v -c "#{pane_current_path}"
|
||||
bind-key C-\\ split-window -v -c "#{pane_current_path}"
|
||||
|
||||
bind-key "-" split-window -fv -c "#{pane_current_path}"
|
||||
bind-key C-- split-window -fv -c "#{pane_current_path}"
|
||||
|
||||
bind -r "<" swap-window -d -t -1
|
||||
bind -r ">" swap-window -d -t +1
|
||||
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
|
||||
bind Space last-window
|
||||
bind-key C-Space switch-client -l
|
||||
|
||||
# Pane navigation
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
|
||||
# Pane resizing
|
||||
bind -r C-j resize-pane -D 15
|
||||
bind -r C-k resize-pane -U 15
|
||||
bind -r C-h resize-pane -L 15
|
||||
bind -r C-l resize-pane -R 15
|
||||
|
||||
# Plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
set -g @plugin 'erikw/tmux-powerline'
|
||||
|
||||
# Initialize TMUX plugin manager
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
Reference in New Issue
Block a user