Created
May 31, 2021 02:02
-
-
Save schmitmd/8c877c6a6a5001467fd438e99c9ba56e to your computer and use it in GitHub Desktop.
tmux conf
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
set-option -g history-limit 99999 | |
set-option -g default-terminal "xterm-256color" | |
set-window-option -g aggressive-resize on | |
set-option -g xterm-keys on | |
#set-option -g mouse on | |
#set-option -g set-titles on | |
#set -g base-index 1 | |
#setw -g pane-base-index 1 | |
##Mouse works as expected | |
#setw -g mode-mouse on | |
#set -g mouse-select-pane on | |
#set -g mouse-resize-pane on | |
#set -g mouse-select-window on | |
#set -g mouse on | |
#setw -g monitor-activity on | |
#set -g visual-activity on | |
#set -g mode-keys vi | |
#set -g history-limit 10000 | |
## y and p as in vim | |
#bind Escape copy-mode | |
#unbind p | |
#bind p paste-buffer | |
#bind -t vi-copy 'v' begin-selection | |
#bind -t vi-copy 'y' copy-selection | |
#bind -t vi-copy 'Space' halfpage-down | |
#bind -t vi-copy 'Bspace' halfpage-up | |
# | |
## extra commands for interacting with the ICCCM clipboard | |
#bind C-c run "tmux save-buffer - | xclip -i -sel clipboard" | |
#bind C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer" | |
# | |
#unbind '"' | |
#unbind % | |
## moving between windows with vim movement keys | |
#bind -r C-h select-window -t :- | |
#bind -r C-l select-window -t :+ | |
#PowerLine: | |
#source '/usr/share/tmux/powerline.conf' | |
bind-key P command-prompt -p 'save history to filename:' -I '~/tmux.history' 'capture-pane -S -999999 ; save-buffer %1 ; delete-buffer' | |
# Tmux Plugin Manager | |
set -g @resurrect-strategy-nvim 'session' | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-pain-control' | |
set -g @plugin 'tmux-plugins/tmux-resurrect' | |
set -g @plugin 'tmux-plugins/tmux-yank' | |
run -b '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment