Created
February 21, 2020 02:39
-
-
Save iamdevlinph/05eb5bbe436b221c498c97423f89f07e to your computer and use it in GitHub Desktop.
Tmux Config
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
# tmux 3.0a | |
# remap prefix from C-b to C-a | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# set pane using mouse | |
set -g mouse on | |
# make tmux use your preferred shell | |
set-option -g default-shell /bin/zsh | |
# use 256 term for pretty colors | |
set -g default-terminal "screen-256color" | |
# decrease command delay (increases vim responsiveness) | |
set -sg escape-time 1 | |
# color status bar | |
set -g status-bg colour235 | |
set -g status-fg white | |
# highlight current window | |
#set-window-option -g window-status-current-fg black | |
#set-window-option -g window-status-current-bg colour201 | |
# set color of active pane | |
#set -g pane-border-fg colour235 | |
#set -g pane-border-bg black | |
#set -g pane-active-border-fg colour201 | |
#set -g pane-active-border-bg black | |
# clock mode | |
set -g clock-mode-style 12 | |
set -g clock-mode-colour colour14 | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
# Open new pane in the same directory | |
bind '"' split-window -c "#{pane_current_path}" | |
bind % split-window -h -c "#{pane_current_path}" | |
# ========= | |
# other plugins | |
set -g @plugin 'tmux-plugins/tmux-resurrect' | |
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
run '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Open new pane in the same directory source