summaryrefslogtreecommitdiff
path: root/tmux/tmux.conf
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2025-03-07 00:22:08 +0200
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2025-03-07 00:22:08 +0200
commit6e968354e4f9cad9f94b592e61a09b17a8e06210 (patch)
treedf0f341fd9332b53a39aa72c4be17cdd0f7cd1c4 /tmux/tmux.conf
parent40577b3f22f677c45525e7439f689a482eedbf69 (diff)
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
Diffstat (limited to 'tmux/tmux.conf')
-rw-r--r--tmux/tmux.conf34
1 files changed, 31 insertions, 3 deletions
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