diff options
| author | 2024-02-25 19:06:03 +0200 | |
|---|---|---|
| committer | 2024-02-25 19:06:03 +0200 | |
| commit | 496c9886cd07da7c55bf0c6f5dd51f54aac8e7fd (patch) | |
| tree | 562a680d68095ba99feec1fdd18c8fca1b049d35 /dot-tmux.conf | |
| parent | Don't bother saving buffers like *scratch* (diff) | |
| download | es-496c9886cd07da7c55bf0c6f5dd51f54aac8e7fd.tar.gz es-496c9886cd07da7c55bf0c6f5dd51f54aac8e7fd.tar.xz es-496c9886cd07da7c55bf0c6f5dd51f54aac8e7fd.zip | |
Update KeyMap a lil bit, add a readme, a license, and a tmux config
Diffstat (limited to 'dot-tmux.conf')
| -rw-r--r-- | dot-tmux.conf | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/dot-tmux.conf b/dot-tmux.conf new file mode 100644 index 0000000..7242b4d --- /dev/null +++ b/dot-tmux.conf | |||
| @@ -0,0 +1,62 @@ | |||
| 1 | # Tmux configuration geared for ES usage. | ||
| 2 | |||
| 3 | ## Server options ## | ||
| 4 | set -gs backspace C-? | ||
| 5 | set -gs default-terminal tmux-256color | ||
| 6 | set -gs editor es | ||
| 7 | set -gs escape-time 0 | ||
| 8 | # SEE: https://github.com/tmux/tmux/wiki/Modifier-Keys#extended-keys | ||
| 9 | # TODO: IMPLEMENT THIS http://www.leonerd.org.uk/hacks/fixterms/ | ||
| 10 | set -gs extended-keys on | ||
| 11 | set -gs focus-events on | ||
| 12 | set -gs set-clipboard on | ||
| 13 | |||
| 14 | ## Session options ## | ||
| 15 | set -g activity-action other | ||
| 16 | set -g base-index 1 | ||
| 17 | set -g bell-action any | ||
| 18 | set -g display-panes-active-colour green | ||
| 19 | set -g display-panes-colour blue | ||
| 20 | set -g display-time 0 | ||
| 21 | set -g mouse on | ||
| 22 | set -g prefix C-c | ||
| 23 | set -g renumber-windows on | ||
| 24 | set -g set-titles on | ||
| 25 | set -g set-titles-string "#W #{session_alerts}" | ||
| 26 | set -g silence-action other | ||
| 27 | set -g status-justify absolute-centre | ||
| 28 | set -g status-keys emacs | ||
| 29 | set -g status-left " tmux[#S] " | ||
| 30 | set -g status-position top | ||
| 31 | set -g status-right " #H " | ||
| 32 | set -g status-style reverse | ||
| 33 | set -g visual-activity on | ||
| 34 | set -g visual-bell on | ||
| 35 | set -g visual-silence on | ||
| 36 | |||
| 37 | ## Window options ## | ||
| 38 | set -gw aggressive-resize on | ||
| 39 | set -gw mode-keys emacs | ||
| 40 | set -gw monitor-activity off | ||
| 41 | set -gw monitor-bell on | ||
| 42 | set -gw monitor-silence 0 | ||
| 43 | set -gw pane-base-index 1 | ||
| 44 | set -gw pane-border-indicators arrows | ||
| 45 | set -gw pane-border-lines single | ||
| 46 | set -gw popup-border-lines rounded | ||
| 47 | |||
| 48 | ## Pane options ## | ||
| 49 | set -gp allow-rename on | ||
| 50 | set -gp alternate-screen on | ||
| 51 | set -gp cursor-style blinking-block | ||
| 52 | set -gp remain-on-exit failed | ||
| 53 | set -gp scroll-on-clear on | ||
| 54 | |||
| 55 | ## Key binds ## | ||
| 56 | bind C-c send-prefix | ||
| 57 | # TODO: keybinds to monitor activity, silence | ||
| 58 | |||
| 59 | # A hack to make simple C-x C-c work instead of C-x C-c C-c | ||
| 60 | bind -T root C-x send C-x \; switch-client -T cx_table \; set prefix None | ||
| 61 | bind -T cx_table Any send \; switch-client -T root \; set prefix C-c | ||
| 62 | |||