From 496c9886cd07da7c55bf0c6f5dd51f54aac8e7fd Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Sun, 25 Feb 2024 19:06:03 +0200 Subject: Update KeyMap a lil bit, add a readme, a license, and a tmux config --- dot-tmux.conf | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 dot-tmux.conf (limited to 'dot-tmux.conf') 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 @@ +# Tmux configuration geared for ES usage. + +## Server options ## +set -gs backspace C-? +set -gs default-terminal tmux-256color +set -gs editor es +set -gs escape-time 0 +# SEE: https://github.com/tmux/tmux/wiki/Modifier-Keys#extended-keys +# TODO: IMPLEMENT THIS http://www.leonerd.org.uk/hacks/fixterms/ +set -gs extended-keys on +set -gs focus-events on +set -gs set-clipboard on + +## Session options ## +set -g activity-action other +set -g base-index 1 +set -g bell-action any +set -g display-panes-active-colour green +set -g display-panes-colour blue +set -g display-time 0 +set -g mouse on +set -g prefix C-c +set -g renumber-windows on +set -g set-titles on +set -g set-titles-string "#W #{session_alerts}" +set -g silence-action other +set -g status-justify absolute-centre +set -g status-keys emacs +set -g status-left " tmux[#S] " +set -g status-position top +set -g status-right " #H " +set -g status-style reverse +set -g visual-activity on +set -g visual-bell on +set -g visual-silence on + +## Window options ## +set -gw aggressive-resize on +set -gw mode-keys emacs +set -gw monitor-activity off +set -gw monitor-bell on +set -gw monitor-silence 0 +set -gw pane-base-index 1 +set -gw pane-border-indicators arrows +set -gw pane-border-lines single +set -gw popup-border-lines rounded + +## Pane options ## +set -gp allow-rename on +set -gp alternate-screen on +set -gp cursor-style blinking-block +set -gp remain-on-exit failed +set -gp scroll-on-clear on + +## Key binds ## +bind C-c send-prefix +# TODO: keybinds to monitor activity, silence + +# A hack to make simple C-x C-c work instead of C-x C-c C-c +bind -T root C-x send C-x \; switch-client -T cx_table \; set prefix None +bind -T cx_table Any send \; switch-client -T root \; set prefix C-c + -- cgit v1.2.3