From 4660dc39484a939374e283a82ffe6e6a0b454e77 Mon Sep 17 00:00:00 2001 From: Atao Date: Sun, 7 Jan 2024 00:17:58 +0100 Subject: [PATCH] First commit --- .gitignore | 1 + README.md | 9 +++++++++ tmux.conf | 44 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 tmux.conf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5a02d10 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +plugins diff --git a/README.md b/README.md new file mode 100644 index 0000000..85cc058 --- /dev/null +++ b/README.md @@ -0,0 +1,9 @@ +# My TMUX config + +## Theme +[catppucin](https://github.com/catppuccin) + +## Installation +- Copy to `~/.config/tmux/` +- Start `tmux` +- To install the plugins : `+I` diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..eb2ead4 --- /dev/null +++ b/tmux.conf @@ -0,0 +1,44 @@ +set-option -sa terminal-overrides ",xterm*:Tc" +set -g default-terminal "screen-256color" + +set -g mouse on + +# ---- Change prefix key +unbind C-b +set -g prefix C-x +bind C-x send-prefix + +# ---- Change split bindings +unbind '"' +unbind % +bind h split-window -h +bind v split-window -v + + +# ---- Disable kill pane validation +bind x kill-pane + +#---------------------------------------------------------- Plugins +set -g @plugin 'tmux-plugin/tpm' +set -g @plugin 'tmux-plugin/tmux-sensible' + + +set -g @plugin 'catppuccin/tmux' +set -g @catppuccin_window_left_separator "█" +set -g @catppuccin_window_right_separator "█ " +set -g @catppuccin_window_number_position "right" +set -g @catppuccin_window_middle_separator " █" + +set -g @catppuccin_window_default_fill "number" + +set -g @catppuccin_window_current_fill "number" +set -g @catppuccin_window_current_text "#{pane_current_path}" + +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" + +run '~/.tmux/plugins/tpm/tpm'