Last active
September 29, 2024 04:20
-
-
Save pyratin/38cdc182d89f6f406a1c 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
# Tmux settings | |
set -g default-terminal "xterm-256color" | |
# Set XTerm key bindings | |
setw -g xterm-keys on | |
# Set reload key to r | |
bind r source-file ~/.tmux.conf | |
# Count sessions start at 1 | |
set -g base-index 1 | |
# Use vim bindings | |
setw -g mode-keys vi | |
bind '"' split-window -c "#{pane_current_path}" | |
bind % split-window -h -c "#{pane_current_path}" | |
bind c new-window -c "#{pane_current_path}" | |
set -g @resurrect-strategy-nvim 'session' | |
set -g @resurrect-processes ':all:' | |
set -g @resurrect-save-bash-history 'on' | |
run '~/.tmux/plugins/tpm/tpm' | |
set -g @plugin 'tmux-plugins/tmux-copycat' | |
set -g @plugin 'tmux-plugins/tmux-yank' | |
set -g @plugin 'tmux-plugins/tmux-resurrect' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment