mirror of https://github.com/ericonr/dotfiles.git
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
# _
|
|
# ___ _ __ (_) ___ ___ _ __ _ __
|
|
# / _ \| '__|| | / __| / _ \ | '_ \ | '__|
|
|
# | __/| | | || (__ | (_) || | | || |
|
|
# \___||_| |_| \___| \___/ |_| |_||_|
|
|
#
|
|
|
|
# Bindings
|
|
unbind-key C-b
|
|
set -g prefix "M-a"
|
|
bind-key M-a send-prefix
|
|
unbind-key l
|
|
bind-key h select-pane -L
|
|
bind-key j select-pane -D
|
|
bind-key k select-pane -U
|
|
bind-key l select-pane -R
|
|
|
|
bind r source-file ~/.tmux.conf
|
|
|
|
bind -n M-down set -q status off
|
|
bind -n M-up set -q status on
|
|
bind P paste-buffer
|
|
|
|
# https://unix.stackexchange.com/questions/101949
|
|
bind % split -h -c "#{pane_current_path}"
|
|
|
|
set-option -g default-terminal "screen-256color"
|
|
|
|
set -sg escape-time 0
|
|
set -g mouse on
|
|
|
|
# appearance
|
|
set -g base-index 1
|
|
setw -g pane-base-index 1
|
|
|
|
set -g status-justify right
|
|
set -g status-style "bg=colour0"
|
|
set -ag status-style "fg=colour7"
|
|
|
|
# ░ ▒ ▓ █
|
|
set -g window-status-current-format "#[fg=colour15, italics] #W "
|
|
set -g window-status-format "#[fg=colour8, italics] #W "
|
|
|
|
set -g status-left-length 100
|
|
set -g status-left "#(battmux)"
|