Created
March 27, 2023 18:23
-
-
Save michael-ford/6f8214546f2b920bc4dfb32b7a016683 to your computer and use it in GitHub Desktop.
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 Tmux's default keystroke to C-a, a binding which comes from GNU Screen | |
# and is quite commong among Tmux users. | |
set-option -g prefix C-a | |
unbind C-b | |
# fix emacs C-a | |
bind a send-prefix | |
# Better colors | |
set -g default-terminal "screen-256color" | |
# Create a cleaner status bar | |
set -g status-bg blue | |
set -g status-fg white | |
set -g status-left '#[fg=green]#S' | |
# set-window-option -g window-status-current-bg red | |
# Uncomment the lines below to make creating panes easier. | |
unbind % | |
bind | split-window -h # split horizontally with C-a | | |
bind - split-window -v # split vertically with C-a - | |
# moving and creating windows | |
bind -n S-down new-window | |
bind -n S-left prev | |
bind -n S-right next | |
bind -n C-left swap-window -t -1 | |
bind -n C-right swap-window -t +1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment