48 lines
1.6 KiB
Bash
48 lines
1.6 KiB
Bash
# IMPORTANT: To apply plugins, while on tmux press: <prefix>, I
|
|
|
|
# List of plugins
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
|
|
|
# Solarized theme
|
|
#set -g @plugin 'seebi/tmux-colors-solarized'
|
|
#set -g @colors-solarized 'light'
|
|
|
|
set -g @plugin "janoamaral/tokyo-night-tmux"
|
|
set -g @tokyo-night-tmux_theme moon # night (default) | storm | moon | day
|
|
set -g @tokyo-night-tmux_transparent 1 # transparent background
|
|
# set -g @tokyo-night-tmux_show_git 1 # local git status
|
|
# set -g @tokyo-night-tmux_show_wbg 1 # GitHub / GitLab stats
|
|
# set -g @tokyo-night-tmux_show_netspeed 1 # network speed
|
|
# set -g @tokyo-night-tmux_show_battery_widget 1 # battery level
|
|
# set -g @tokyo-night-tmux_show_music 1 # now playing
|
|
# set -g @tokyo-night-tmux_show_path 1 # current path
|
|
# set -g @tokyo-night-tmux_show_hostname 1 # machine hostname
|
|
|
|
# Terminal type configuration
|
|
set -g default-terminal "screen-256color"
|
|
set -ga terminal-overrides ",xterm-256color:Tc"
|
|
|
|
# Bindings
|
|
bind M-c a -c "%{pane_current_path}"
|
|
|
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
|
run '~/.tmux/plugins/tpm/tpm'
|
|
|
|
# split panes using | and -
|
|
bind \\ split-window -h
|
|
bind - split-window -v
|
|
unbind '"'
|
|
unbind %
|
|
|
|
# reload config file (change file location to your the tmux.conf you want to use)
|
|
bind r source-file ~/.tmux.conf
|
|
|
|
# switch panes using Alt-arrow without prefix
|
|
bind -n C-h select-pane -L
|
|
bind -n C-l select-pane -R
|
|
bind -n C-j select-pane -U
|
|
bind -n C-k select-pane -D
|
|
|
|
# Enable mouse
|
|
set -g mouse on
|