Skip to content

Instantly share code, notes, and snippets.

@Aadv1k
Created November 25, 2023 11:07
Show Gist options
  • Save Aadv1k/668871f53c889829236da3e34c2c50ef to your computer and use it in GitHub Desktop.
Save Aadv1k/668871f53c889829236da3e34c2c50ef to your computer and use it in GitHub Desktop.
Created using GPT v3.5; Prompt "Give me a tmux config with the following - bind the c-b to c-a - set the status bar to be black and be at the top - use vim navigation "
# Use C-a instead of C-b as the prefix key
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# Set status bar to be black and at the top
set -g status-bg black
set -g status-style fg=white
# Use vim-like navigation keys
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Reload configuration file (change this to your preferred key binding)
bind r source-file ~/.tmux.conf \; display-message "Config reloaded."
# Other configurations can be added below as needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment