Skip to content

Instantly share code, notes, and snippets.

@DGh0st
Last active June 29, 2019 08:02
Show Gist options
  • Save DGh0st/9a7e1eaaa8dd16d9dc71ea9cebd7c50a to your computer and use it in GitHub Desktop.
Save DGh0st/9a7e1eaaa8dd16d9dc71ea9cebd7c50a to your computer and use it in GitHub Desktop.
~/.tmux.conf
# enable mouse scrolling
setw -g mouse on
# start with 1 instead of 0
set -g base-index 1
# enable 256 colors
set -g default-terminal screen-256color
# create new bindings
bind -n C-n new-window -c '#{pane_current_path}'
bind -n C-v split-window -v -c '#{pane_current_path}'
bind -n C-h split-window -h -c '#{pane_current_path}'
bind -n C-Left select-pane -L
bind -n C-Right select-pane -R
bind -n C-Up select-pane -U
bind -n C-Down select-pane -D
# theme the panes/windows
set -g window-style 'fg=white,bg=colour235'
set -g window-active-style 'fg=white,bg=black'
set -g pane-border-fg black
set -g pane-border-bg colour22
set -g pane-active-border-fg colour28
set -g pane-active-border-bg colour22
# set window status format
set -g window-status-format "#I"
set -g window-status-current-format "[#I]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment