Last active
September 29, 2023 21:15
-
-
Save mike-day/9dbd72954e9f4ac5f699352b77967d59 to your computer and use it in GitHub Desktop.
Basic tmux config
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 the control character to Ctrl+Spacebar (instead of Ctrl+B) | |
set -g prefix C-space | |
unbind-key C-b | |
bind-key C-space send-prefix | |
# Set new panes to open in current directory | |
bind c new-window -c "#{pane_current_path}" | |
bind '"' split-window -c "#{pane_current_path}" | |
bind % split-window -h -c "#{pane_current_path}" | |
# Enable the mouse cursor for pane resizing, clicking to select pane | |
set -g mouse on | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'tmux-plugins/tmux-resurrect' | |
set -g @plugin 'tmux-plugins/tmux-continuum' | |
# Initialize TMUX plugin manager (keep this line at bottom of file!) | |
run '~/.tmux/plugins/tpm/tpm' |
Global! I have it at my root user folder with other global configs (git, zsh, etc)
Nice!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At my root of a project? Or can I make this global?