Last active
September 29, 2024 01:46
-
-
Save Anon-Exploiter/261d377c51fbec1798b5913044c213fe to your computer and use it in GitHub Desktop.
Tmux dotfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# binding Ctrl + b to Ctrl + A | |
set -g prefix ^a | |
# Set Colors | |
set -g status-bg black | |
set -g status-fg white | |
# setting history command buffer | |
set -g history-limit 200000000 | |
set -g allow-rename off | |
# Set window notifications | |
setw -g monitor-activity on | |
set -g visual-activity on | |
# Automatically set window title | |
setw -g automatic-rename | |
# search mode VI (default is emac) | |
setw -g mode-keys vi | |
set-window-option -g mode-keys vi | |
# tmux display things in 256 colors | |
set -g default-terminal "screen-256color" | |
# git clone https://github.com/tmux-plugins/tmux-logging.git | |
# run-shell ~/.tmux/plugins/tmux-logging/logging.tmux | |
# Copy text to clipboard by: | |
# Ctrl + A, [ | |
# Select the text by arrow keys | |
# Press y | |
# Its in the clipboard | |
# # Install TPM and plugins | |
# git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm | |
# git clone https://github.com/tmux-plugins/tmux-yank ~/.tmux/plugins/tmux-yank | |
# git clone https://github.com/tmux-plugins/tmux-logging ~/.tmux/plugins/tmux-logging | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'tmux-plugins/tmux-yank' | |
set -g @plugin 'tmux-plugins/tmux-logging' | |
set -g @plugin 'tmux-plugins/tmux-resurrect' | |
# set -g @plugin 'tmux-plugins/tmux-continuum' # This overwrites auto-saves which is messy | |
# Plugin Commands | |
set -g @resurrect-capture-pane-contents 'on' | |
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
run '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment