Skip to content

Instantly share code, notes, and snippets.

@ashrafhasson
Last active November 10, 2023 13:17
Show Gist options
  • Save ashrafhasson/f27889ea7040cdb04d2b495c99769018 to your computer and use it in GitHub Desktop.
Save ashrafhasson/f27889ea7040cdb04d2b495c99769018 to your computer and use it in GitHub Desktop.
unbind r
bind r source-file ~/.config/tmux/tmux.conf
set -g mouse on
# act like vim
setw -g mode-keys vi
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
bind-key S set-window-option synchronize-panes
# start windows and panes at 1 instead of 0
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
set-option -sa terminal-overrides ",xterm*:Tc"
# Window: movements
bind-key -r C-h select-window -t :-
bind-key -r C-l select-window -t :+
bind '"' split-window -v -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.config/tmux/plugins/tpm/tpm'
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'catppuccin/tmux'
set -g @plugin 'tmux-plugins/tmux-yank'
# set -g @plugin 'dracula/tmux'
# set -g @dracula-show-powerline true
# set -g @dracula-show-network false
# set -g @dracula-fixed-location off
# set -g @dracula-show-flags true
# set -g @dracula-show-left-icon session
# set -g @dracula-git-disable-status false
set -g @catppuccin_window_left_separator ""
set -g @catppuccin_window_right_separator " "
set -g @catppuccin_window_middle_separator " "
set -g @catppuccin_window_number_position "right"
set -g @catppuccin_window_default_fill "number"
set -g @catppuccin_status_modules_right "application session date_time"
set -g @catppuccin_status_left_separator ""
set -g @catppuccin_status_right_separator " "
set -g @catppuccin_status_right_separator_inverse "yes"
set -g @catppuccin_status_fill "all"
set -g @catppuccin_status_connect_separator "no"
set -g status-position top
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment