From 6e968354e4f9cad9f94b592e61a09b17a8e06210 Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Fri, 7 Mar 2025 00:22:08 +0200 Subject: Great new changes to X11, allacrity(just for testing), btop, nsxiv (added key exec handler), nvim, tmux niceness, zathura configuration massive zsh improvements. Overall a solid update, install script is still dead tho. REGARDLESS: Changes to be committed: modified: X11/xinit new file: alacritty/alacritty.toml modified: btop/btop.conf new file: nsxiv/exec/key-handler modified: nvim/init.vim new file: sxiv modified: tmux/tmux.conf modified: zathura/zathurarc modified: zsh/aliases modified: zsh/env modified: zsh/zshrc --- tmux/tmux.conf | 34 +++++++++++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-) (limited to 'tmux/tmux.conf') diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 6e70fce..d37a57a 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -11,6 +11,26 @@ set -g message-style bg=red,fg=black set -g mode-style bg=red,fg=black set -g status-style bg=red,fg=black +# color support +set-option -s default-terminal "tmux-256color" +set-option -sa terminal-overrides ",tmux-256color:RGB" +set-option -sa terminal-overrides ",tmux-256color*:Tc" + +# escape time +set -sg escape-time 10 + +# history limit +set -g history-limit 10000 + +# automatic window renaming +setw -g automatic-rename on + +# keybind to source the config file +bind-key r source-file ~/.config/tmux/tmux.conf + +set -g status-right-length 20 +set -g status-right '%a %Y-%m-%d %H:%M' + # tpm plugin manager set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' @@ -22,9 +42,9 @@ run '~/.tmux/plugins/tpm/tpm' set -g mouse on -#unbind C-b -#set -g prefix C-Space -#bind C-Space send-prefix +unbind C-b +set -g prefix C-a +bind C-a send-prefix # Vim style pane selection bind h select-pane -L @@ -32,6 +52,14 @@ bind j select-pane -D bind k select-pane -U bind l select-pane -R +# pane border colors +set -g pane-border-style 'fg=colour223' +set -g pane-active-border-style 'fg=colour2' + +# Vim style window selection +bind-key v split-window -h +bind-key g split-window -v + ## Start windows and panes at 1, not 0 set -g base-index 1 set -g pane-base-index 1 -- cgit v1.2.3