Last active
May 7, 2019 18:08
-
-
Save MikeDawg/e3551a1feb4ff6d4ea59adb8e2c1853c to your computer and use it in GitHub Desktop.
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
# Use screen's prefix key | |
set -g prefix C-a | |
unbind C-b | |
bind-key C-a send-prefix | |
# Set 256 color term | |
set -g default-terminal "screen-256color" | |
# colors similar to my old screen setup | |
set -g status-fg black | |
set -g status-bg white | |
set -g status-attr bright | |
set-window-option -g window-status-current-bg blue | |
set-window-option -g window-status-current-fg white | |
set-window-option -g window-status-current-attr dim | |
# Activity monitoring | |
setw -g monitor-activity on | |
set -g visual-activity on | |
# hjkl pane traversal | |
#bind h select-pane -L | |
#bind j select-pane -D | |
#bind k select-pane -U | |
#bind l select-pane -R | |
#bind h up-pane | |
#bind l down-pane | |
# vim | |
setw -g mode-keys vi | |
bind [ copy-mode | |
#bind -t vi-copy V rectangle-toggle | |
bind ] paste-buffer | |
# reload config | |
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..." | |
#open man page with / | |
bind / command-prompt "split-window -h 'exec man %%'" | |
# title A | |
unbind A | |
bind A command-prompt "rename-window %%" | |
# mouse-select-pane [on | off] | |
#set -g mouse-select-pane on | |
# Make easy to remember split bindings | |
bind | split-window -h | |
bind - split-window -v | |
# mimic screen a little more | |
bind C-n next-window | |
bind C-p previous-window | |
set -g history-limit 500000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment