Skip to content

Commit

Permalink
feat(tmux): use 256 term for pretty colors
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedAbdulrahman committed Aug 27, 2023
1 parent 0a0c975 commit 72ec506
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions files/.config/tmux/config/settings.tmux
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,16 @@ set -g prefix C-Space
# Dont mess up with other ctrl-a options by pressing ctrl-a twice
bind C-Space send-prefix

# Default term.
set-option -g default-terminal "screen-256color"
# Enable vi style key bindings in command mode.
if-shell 'test "$TERM" = "xterm-kitty"' \
'set -g default-terminal "xterm-kitty"' \
'set -g default-terminal "tmux-256color"' # use 256 term for pretty colors

# set Zsh as your default Tmux shell
set-option -g default-shell /bin/zsh

# Retach userspaces
set -g default-command "reattach-to-user-namespace -l zsh"

set-option -g mode-keys vi
set-option -g status-keys vi

Expand Down

0 comments on commit 72ec506

Please sign in to comment.