Last active
February 14, 2022 12:24
-
-
Save psyhtest/44bfe16e55003dcc4e080b0dfa6b4840 to your computer and use it in GitHub Desktop.
~/.tmux.conf with prefix remapping, big history and plugins
This file contains hidden or 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 to Ctrl+s. | |
set -g prefix C-s | |
unbind C-b | |
bind C-s send-prefix | |
# Increase history limit. | |
set-option -g history-limit 100000 | |
# List of plugins. | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'tmux-plugins/tmux-resurrect' | |
# Other examples: | |
# set -g @plugin 'github_username/plugin_name' | |
# set -g @plugin '[email protected]/user/plugin' | |
# set -g @plugin '[email protected]/user/plugin' | |
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf). | |
run '~/.tmux/plugins/tpm/tpm' |
Save this file as ~/.tmux.conf
:
wget https://gist.githubusercontent.com/psyhtest/44bfe16e55003dcc4e080b0dfa6b4840/raw/5f85302a547db773c72d515b25384aa9bee3c095/gistfile1.txt -O ~/.tmux.conf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To install tmux-resurrect, first clone:
then run tmux and press
Ctrl-s Shift-i
.