Jacknoll icon

tmux.conf

Jacknoll | PRO | 06/06/19 08:49:24 PM UTC | 0 ⭐ | 14795 👁️ | Never ⏰ | []
autoconf |

1.63 KB

|

None

|

0 👍

/

0 👎

# Use ` as the prefix character
unbind C-b
set -g prefix `
bind ` send-prefix
 
# Use `-R to reload source file config
bind R source-file ~/.tmux.conf
 
# Use `-X to kill window
bind X confirm kill-window
 
# Set Xterm key bindings
setw -g xterm-keys on
 
# Set mouse mode off
set -g mouse off
 
# Set window numbering from 1
set -g base-index 1
 
# Set vim key bindings in copy paste mode
set -g mode-keys vi
 
# Set no delay to prefix key press
set -sg escape-time 0
 
# Set titles
set -g set-titles on
set -g set-titles-string "tmux #(whoami)@#(hostname) (#I:#W)"
 
set-option -g renumber-windows on
 
# Set status bar
set-option -g status-position bottom
set -g status-bg black
set -g status-fg white
set -g status-interval 5
set -g status-left-length 120
set -g status-right-length 90
set -g status-left "#[fg=Green]#(whoami)#[fg=white]::#[fg=cyan]#(hostname)#[bg=default]#[fg=white]::#[fg=red]#S#[fg=white] "
set -g status-justify left
set -g status-right '#[fg=cyan]:: %a %b %d %H:%M'
 
setw -g automatic-rename on
 
# Set keyboard bindings for window reorder
bind -n C-H swap-window -t -1
bind -n C-L swap-window -t +1
 
# Set keyboard bindings for pane resize
bind -n M-Left  resize-pane -L
bind -n M-Right resize-pane -R
bind -n M-Up    resize-pane -U
bind -n M-Down  resize-pane -D
 
# Set larger scrollback buffer
set -g history-limit 100000
 
# Shortcut to clear scrollback buffer
bind -n C-k clear-history
 
# Synchronize input to panes with C-e
bind e setw synchronize-panes on
bind E setw synchronize-panes off
 
# Enable tmux-resurrect plugin
run-shell ~/.tmux/plugins/tmux-resurrect-master/resurrect.tmux

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎