From 09877792588ca7a6b7c69a557a9af0730fb6a380 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Thu, 25 May 2023 14:43:12 +0200 Subject: Note: Renamed tmux config to sane defaults --- content/notes/tmux-config.md | 36 ------------------------------------ content/notes/tmux-sane-defaults.md | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 36 deletions(-) delete mode 100644 content/notes/tmux-config.md create mode 100644 content/notes/tmux-sane-defaults.md diff --git a/content/notes/tmux-config.md b/content/notes/tmux-config.md deleted file mode 100644 index 64bf4b2..0000000 --- a/content/notes/tmux-config.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: Tmux config for my machines -url: tmux-config.html -date: 2023-05-25 -type: notes -draft: false -tags: [tmux] ---- - -```conf -# Remap prefix from 'C-b' to 'M-a'. -unbind C-b -set-option -g prefix M-a -bind-key M-a send-prefix - -# Split panes using | and -. -bind | split-window -h -bind - split-window -v -unbind '"' -unbind % - -# Start counting windows with 1. -set-option -g allow-rename on -set -g base-index 1 -setw -g pane-base-index 1 - -# Statusbar: purple bg and white fg. -set -g status-bg '#480b8e' -set -g status-fg '#ffffff' - -# Active window: black bg and white fg. -set -g window-status-current-format "#[fg=#ffffff]#[bg=#111111]#[fg=#ffffff]#[bg=#111111] #I:#W #[fg=#ffffff]#[bg=#111111]" - -# Disable mouse mode (tmux 2.1 and above). -set -g mouse off -``` diff --git a/content/notes/tmux-sane-defaults.md b/content/notes/tmux-sane-defaults.md new file mode 100644 index 0000000..f23e19d --- /dev/null +++ b/content/notes/tmux-sane-defaults.md @@ -0,0 +1,36 @@ +--- +title: Sane defaults for tmux with more visible statusbar +url: tmux-sane-defaults.html +date: 2023-05-25 +type: notes +draft: false +tags: [tmux] +--- + +```conf +# Remap prefix from 'C-b' to 'M-a'. +unbind C-b +set-option -g prefix M-a +bind-key M-a send-prefix + +# Split panes using | and -. +bind | split-window -h +bind - split-window -v +unbind '"' +unbind % + +# Start counting windows with 1. +set-option -g allow-rename on +set -g base-index 1 +setw -g pane-base-index 1 + +# Statusbar: purple bg and white fg. +set -g status-bg '#480b8e' +set -g status-fg '#ffffff' + +# Active window: black bg and white fg. +set -g window-status-current-format "#[fg=#ffffff]#[bg=#111111]#[fg=#ffffff]#[bg=#111111] #I:#W #[fg=#ffffff]#[bg=#111111]" + +# Disable mouse mode (tmux 2.1 and above). +set -g mouse off +``` -- cgit v1.2.3