Skip to content

Instantly share code, notes, and snippets.

@slayerlab
Created June 8, 2019 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slayerlab/780b4a7bf4f295eda79dd68a7a527556 to your computer and use it in GitHub Desktop.
Save slayerlab/780b4a7bf4f295eda79dd68a7a527556 to your computer and use it in GitHub Desktop.
My marginally `TMUX(1)` configuration file: ~/.tmux.conf
# List of plugins
# Reference: https://github.com/tmux-plugins/tpm
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
# Personal plugins
set -g @plugin 'tmux-plugins/tmux-logging'
# Remap prefix to screens
set -g prefix C-q
bind C-q send-prefix
unbind C-b
# Quality of life stuff
set -g history-limit 10000 # default is 2000
set -g allow-rename off # enable pane rename. (Prefix) ,
# Join Windows
bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'" # send pane to -> join from current pane to another.
bind-key j command-prompt -p "grab pane from:" "join-pane -s '%%'" # grab pane from -> grab a foreign pane to the current one.
# Search Mode VI (default is emac)
# (Prefix) [
# Use '?' for search up
# Use '/' for search down
set-window-option -g mode-keys vi
#run-shell /opt/tmux-logging/logging.tmux
set-option -g default-shell /usr/bin/fish
set -g default-terminal "screen-256color"
run -b '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment