Last active
January 8, 2024 13:37
-
-
Save mayconvm/a5b9668f81716bc60049a3c312c09d3f to your computer and use it in GitHub Desktop.
Settings to tmux
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
# remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
#color pallete | |
set -g default-terminal "screen-256color" | |
# Enable mouse control (clickable windows, panes, resizable panes) | |
#set -g mouse-select-window on | |
#set -g mouse-select-pane on | |
#set -g mouse-resize-pane on | |
# don't rename windows automatically | |
set-option -g allow-rename off | |
#plugins | |
# package manager plugins (git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm) | |
set -g @plugin 'tmux-plugins/tpm' | |
# other plugins | |
# before add line this. | |
# save file and prefix + I | |
set -g @plugin 'tmux-plugins/tmux-resurrect' | |
set -g @plugin 'tmux-plugins/tmux-continuum' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'noscript/tmux-mighty-scroll' | |
set -g @plugin 'tmux-plugins/tmux-yank' | |
set -g @plugin 'tmux-plugins/tmux-continuum' | |
set -g @continuum-restore 'on' | |
set -g @continuum-boot 'on' | |
run -b '~/.tmux/plugins/tpm/tpm' | |
# Reload settings | |
# tmux source ~/.tmux.conf | |
# prefix + I |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment