diff options
| author | Mitja Felicijan <m@mitjafelicijan.com> | 2023-07-16 22:46:06 +0200 |
|---|---|---|
| committer | Mitja Felicijan <m@mitjafelicijan.com> | 2023-07-16 22:46:11 +0200 |
| commit | 0cb6a5c81271a61e930505f3315b1d67bdf22724 (patch) | |
| tree | 27df39e2004dda656f5e8ae09e9d4e6395d4f903 /content/notes/tmux-sane-defaults.md | |
| parent | 89b2019bfa3bd8f1f0ceb7724c492fdf337dd519 (diff) | |
| download | mitjafelicijan.com-0cb6a5c81271a61e930505f3315b1d67bdf22724.tar.gz | |
Renamed all the notes files to include date
Diffstat (limited to 'content/notes/tmux-sane-defaults.md')
| -rw-r--r-- | content/notes/tmux-sane-defaults.md | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/content/notes/tmux-sane-defaults.md b/content/notes/tmux-sane-defaults.md deleted file mode 100644 index e21b62b..0000000 --- a/content/notes/tmux-sane-defaults.md +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | --- | ||
| 2 | title: Sane defaults for tmux with more visible statusbar | ||
| 3 | url: tmux-sane-defaults.html | ||
| 4 | date: 2023-05-25T12:00:00+02:00 | ||
| 5 | type: note | ||
| 6 | draft: false | ||
| 7 | tags: [tmux] | ||
| 8 | --- | ||
| 9 | |||
| 10 | ```conf | ||
| 11 | # Remap prefix from 'C-b' to 'M-a'. | ||
| 12 | unbind C-b | ||
| 13 | set-option -g prefix M-a | ||
| 14 | bind-key M-a send-prefix | ||
| 15 | |||
| 16 | # Split panes using | and -. | ||
| 17 | bind | split-window -h | ||
| 18 | bind - split-window -v | ||
| 19 | unbind '"' | ||
| 20 | unbind % | ||
| 21 | |||
| 22 | # Start counting windows with 1. | ||
| 23 | set-option -g allow-rename on | ||
| 24 | set -g base-index 1 | ||
| 25 | setw -g pane-base-index 1 | ||
| 26 | |||
| 27 | # Statusbar: purple bg and white fg. | ||
| 28 | set -g status-bg '#480b8e' | ||
| 29 | set -g status-fg '#ffffff' | ||
| 30 | |||
| 31 | # Active window: black bg and white fg. | ||
| 32 | set -g window-status-current-format "#[fg=#ffffff]#[bg=#111111]#[fg=#ffffff]#[bg=#111111] #I:#W #[fg=#ffffff]#[bg=#111111]" | ||
| 33 | |||
| 34 | # Disable mouse mode (tmux 2.1 and above). | ||
| 35 | set -g mouse off | ||
| 36 | ``` | ||
| 37 | |||
