aboutsummaryrefslogtreecommitdiff
path: root/_posts/notes/2023-05-25-tmux-sane-defaults.md
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-03-10 14:59:14 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-03-10 14:59:14 +0100
commit1100562e29f6476448b656dbddd4cf22505523f6 (patch)
tree442eec492199104bd49dfd74474ce89ade8fcac9 /_posts/notes/2023-05-25-tmux-sane-defaults.md
parenta40d80be378e46a6c490e1b99b0d8f4acd968503 (diff)
downloadmitjafelicijan.com-1100562e29f6476448b656dbddd4cf22505523f6.tar.gz
Move back to JBMAFP
Diffstat (limited to '_posts/notes/2023-05-25-tmux-sane-defaults.md')
-rw-r--r--_posts/notes/2023-05-25-tmux-sane-defaults.md38
1 files changed, 0 insertions, 38 deletions
diff --git a/_posts/notes/2023-05-25-tmux-sane-defaults.md b/_posts/notes/2023-05-25-tmux-sane-defaults.md
deleted file mode 100644
index 3d0f304..0000000
--- a/_posts/notes/2023-05-25-tmux-sane-defaults.md
+++ /dev/null
@@ -1,38 +0,0 @@
1---
2title: Sane defaults for tmux with more visible statusbar
3permalink: /tmux-sane-defaults.html
4date: 2023-05-25T12:00:00+02:00
5layout: post
6type: note
7draft: false
8tags: [tmux]
9---
10
11```conf
12# Remap prefix from 'C-b' to 'M-a'.
13unbind C-b
14set-option -g prefix M-a
15bind-key M-a send-prefix
16
17# Split panes using | and -.
18bind | split-window -h
19bind - split-window -v
20unbind '"'
21unbind %
22
23# Start counting windows with 1.
24set-option -g allow-rename on
25set -g base-index 1
26setw -g pane-base-index 1
27
28# Statusbar: purple bg and white fg.
29set -g status-bg '#480b8e'
30set -g status-fg '#ffffff'
31
32# Active window: black bg and white fg.
33set -g window-status-current-format "#[fg=#ffffff]#[bg=#111111]#[fg=#ffffff]#[bg=#111111] #I:#W #[fg=#ffffff]#[bg=#111111]"
34
35# Disable mouse mode (tmux 2.1 and above).
36set -g mouse off
37```
38