moved tmux keymaps to keymaps.conf and moved the theme zegonix.conf

into the folder `themes`
This commit is contained in:
2024-12-30 17:45:32 +01:00
parent 599b1dbd17
commit 10cbfdd6df
3 changed files with 41 additions and 22 deletions

View File

@@ -5,27 +5,6 @@ set-option -g default-command "/bin/bash"
# enable rgb colors
set-option -sa terminal-features ',xterm-256color:RGB'
# set prefix key
unbind C-b
set-option -g prefix C-Space
# general keybindings
bind r source-file ~/.config/tmux/tmux.conf \; display-message "config reloaded"
# window navigation
bind -n M-S-Left previous-window
bind -n M-S-Right next-window
bind-key -r > swap-window -t :+1 \; select-window -t +1
bind-key -r < swap-window -t :-1 \; select-window -t -1
# pane navigation
bind -n M-Left select-pane -L
bind -n M-Down select-pane -D
bind -n M-Up select-pane -U
bind -n M-Right select-pane -R
bind k run "tmux detach -P"
# enable mouse support
set -g mouse on
# bind -n WheelUpPane {
@@ -48,5 +27,8 @@ set-option -g renumber-windows on
# status bar
set -g status-interval 5
# source keymaps
source $HOME/.config/tmux/keymaps.conf
# source custom theme
source ~/dotfiles/tmux/.config/tmux/zegonix.conf
source $HOME/.config/tmux/themes/zegonix.conf