My tmux conf
This file contains 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
unbind C-b | |
set -g prefix C-a | |
set -g default-terminal "screen-256color" | |
set -g history-limit 5000 | |
bind C-a send-prefix | |
# force a reload of the config file | |
unbind r | |
bind r source-file ~/.tmux.conf | |
# update pane creation to use current directory | |
unbind % | |
bind % split-window -h -c '#{pane_current_path}' | |
unbind '"' | |
bind '"' split-window -c '#{pane_current_path}' | |
# pane navigation: | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
bind g select-pane -t :.+ | |
# resizing: | |
bind -r C-h resize-pane -L | |
bind -r C-j resize-pane -D | |
bind -r C-k resize-pane -U | |
bind -r C-l resize-pane -R | |
# window navigation: | |
bind H previous-window | |
bind J previous-window | |
bind K next-window | |
bind L next-window | |
bind - last-window | |
# 2-pane bindings | |
# tell other pane redo last command | |
unbind ! | |
bind ! send-keys -t :.+ "!!" ^M | |
# status bar formatting & coloring | |
set-window-option -qg status-left ' #S' | |
set-window-option -qg status-right ' %Y-%m-%d %H:%M ' | |
set-window-option -qg status-right-style fg=colour7,bg=colour10 | |
set-window-option -qg status-style fg=colour7,bg=colour0 | |
set-window-option -qg window-status-current-format " #I: #W #F " | |
set-window-option -qg window-status-current-style fg=colour7,bg=colour2,bold | |
set-window-option -qg window-status-format " #I: #W #F " | |
set-window-option -qg window-status-separator "" | |
set-window-option -qg window-status-style fg=colour14 | |
set-window-option -qg clock-mode-colour colour2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment