Skip to content

Instantly share code, notes, and snippets.

@onixus74
Forked from gblmarquez/.tmux.conf
Last active September 9, 2022 21:33
Show Gist options
  • Save onixus74/8179fef6bb7838097186d91af1e878f1 to your computer and use it in GitHub Desktop.
Save onixus74/8179fef6bb7838097186d91af1e878f1 to your computer and use it in GitHub Desktop.
.tmux.conf with fish as default shell
#set -ga terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q'
# Add truecolor support
#set-option -ga terminal-overrides ,xterm-256color:Tc""
# Default terminal is 256 colors
set -g default-terminal "screen-256color"
set-option -sg escape-time 10
set-option -g default-terminal "screen-256color"
#TPM
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'jimeh/tmux-themepack'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
#yank Easy motion
set -g @plugin 'fcsonline/tmux-thumbs'
#Easy motion
#set -g @plugin 'schasse/tmux-jump'
# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin '[email protected]/user/plugin'
# set -g @plugin '[email protected]/user/plugin'
#THEME
#set -g @themepack 'powerline/double/green'
set -g @themepack 'powerline/double/cyan'
# Fish Default
#set -g default-command /usr/bin/fish
#set -g default-shell /usr/bin/fish
# Enable mouse
set -g mouse on
# Status Bar
#set-option -g status on # turn the status bar on
# set -g status-utf8 on # set utf-8 for the status bar
#set -g status-interval 2 # set update frequencey (default 15 seconds)
# set -g status-justify centre # center window list for clarity
# set-option -g status-position top # position the status bar at top of screen
#Continuous Session Saving
set -g @continuum-restore 'on'
#Display
set -g base-index 1 # start windows numbering at 1
setw -g pane-base-index 1 # make pane numbering consistent with windows
setw -g automatic-rename on # rename window to reflect current program
set -g renumber-windows on # renumber windows when a window is closed
set -g set-titles on # set terminal title
set -g display-panes-time 800 # slightly longer pane indicators display time
set -g display-time 1000 # slightly longer status messages display time
set -g status-interval 10 # redraw status line every 10 seconds
set-option -sg escape-time 30
# Split
# split current window horizontally
bind - split-window -v
# split current window vertically
bind _ split-window -h
# Clear Window
bind -n C-f send-keys -R \; send-keys C-l \; clear-history
# (Jump) Easy motion
#set -g @jump-key 's'
#Easy motion yank paste with prefix + ]
set -g @thumbs-key Y
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run -b '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment