Last active
June 11, 2020 16:49
-
-
Save ljcucc/2c4e0bcd03dd9a439edd4399e14e910a to your computer and use it in GitHub Desktop.
ljcucc's tmux config file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#shell history | |
set -g history-limit 10000 | |
#Command button | |
unbind C-b | |
set -g prefix C-a | |
set -g base-index 1 | |
set -g pane-base-index 1 | |
# Vertical splits | |
unbind g | |
unbind C-g | |
bind-key g split-window -h | |
bind-key C-g split-window -h | |
#Horizontal splits | |
unbind h | |
unbind C-h | |
bind-key h split-window | |
bind-key C-h split-window | |
#theme | |
# | |
# source-file "${HOME}/.tmux-themepack/powerline/block/green.tmuxtheme" | |
set -g @plugin 'jimeh/tmux-themepack' | |
set -g @themepack 'powerline/default/blue' | |
set -g default-terminal "screen-256color" | |
# toggle statusbar | |
bind-key b set-option status | |
set-option -g status-position bottom | |
set-option -g status-interval 2 | |
set-option -g status-left-length 60 | |
set-option -g status-right-length 90 | |
set -g status-right "#[fg=colour155]#(pmset -g batt | ~/bin/battinfo.rb) | #[fg=colour45]%d %b %R" | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
# Other examples: | |
# set -g @plugin 'github_username/plugin_name' | |
# set -g @plugin '[email protected]/user/plugin' | |
# set -g @plugin '[email protected]/user/plugin' | |
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
run -b '~/.tmux/plugins/tpm/tpm' | |
#color setting | |
set -ga terminal-overrides ',xterm-256color:Tc' | |
set -g default-terminal "screen-256color" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment