From 6e748525243f330a8ea4d8ba2b36532644f9f05b Mon Sep 17 00:00:00 2001 From: Ayo Date: Wed, 24 Jun 2026 18:09:27 +0200 Subject: [PATCH] feat(tmux): hotkeys and theme updates --- .tmux.conf | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index ec56f2e..307a631 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -5,8 +5,19 @@ set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' # Solarized theme -set -g @plugin 'seebi/tmux-colors-solarized' -set -g @colors-solarized 'light' +#set -g @plugin 'seebi/tmux-colors-solarized' +#set -g @colors-solarized 'light' + +set -g @plugin "janoamaral/tokyo-night-tmux" +set -g @tokyo-night-tmux_theme moon # night (default) | storm | moon | day +set -g @tokyo-night-tmux_transparent 1 # transparent background +# set -g @tokyo-night-tmux_show_git 1 # local git status +# set -g @tokyo-night-tmux_show_wbg 1 # GitHub / GitLab stats +# set -g @tokyo-night-tmux_show_netspeed 1 # network speed +# set -g @tokyo-night-tmux_show_battery_widget 1 # battery level +# set -g @tokyo-night-tmux_show_music 1 # now playing +# set -g @tokyo-night-tmux_show_path 1 # current path +# set -g @tokyo-night-tmux_show_hostname 1 # machine hostname # Terminal type configuration set -g default-terminal "screen-256color" @@ -17,3 +28,21 @@ bind M-c a -c "%{pane_current_path}" # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm' + +# split panes using | and - +bind \\ split-window -h +bind - split-window -v +unbind '"' +unbind % + +# reload config file (change file location to your the tmux.conf you want to use) +bind r source-file ~/.tmux.conf + +# switch panes using Alt-arrow without prefix +bind -n C-h select-pane -L +bind -n C-l select-pane -R +bind -n C-j select-pane -U +bind -n C-k select-pane -D + +# Enable mouse +set -g mouse on