From 1f148470c3c5494e0d70632143b9e4a9b6ce903a Mon Sep 17 00:00:00 2001 From: Christian Koptein Date: Mon, 14 Sep 2020 23:57:56 +0200 Subject: [PATCH] added tmux conf --- README.md | 1 + tmux.conf | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 tmux.conf diff --git a/README.md b/README.md index f95c340..c91263f 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,5 @@ Enable: ``` rm ~/.config/conky/conky.conf && mkdir -p $HOME/.config/conky && ln -s $(pwd)/conky.conf $HOME/.config/conky.conf ln -s $(pwd)/conky.desktop $HOME/.config/autostart/conky.desktop +ln -s $(pwd)/tmux.conf $HOME/.tmux.conf ``` diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..5f11b14 --- /dev/null +++ b/tmux.conf @@ -0,0 +1,51 @@ +# make CTRL+a the 'prefix' ala screen. +bind C-a send-prefix +set -g prefix C-a +# get rid of the tmux standard of CTRL+b +unbind C-b +set -s escape-time 1 +set -g base-index 1 +setw -g pane-base-index 1 + +# make it easy to reload the config (CTRL+r) +bind r source-file ~/.tmux.conf \; display "Config reloaded!" + +#disabling mouse mode just to force myself to learn more of the commands +setw -g mode-mouse off +set -g mouse-select-pane off +set -g mouse-resize-pane off +set -g mouse-select-window off + +#setting the colors +set -g status-fg white +set -g status-bg black + +setw -g window-status-fg cyan +setw -g window-status-bg default +setw -g window-status-attr dim + +setw -g window-status-current-fg white +setw -g window-status-current-bg red +setw -g window-status-current-attr bright + +# moar colorz +set -g pane-border-fg green +set -g pane-border-bg black + +set -g pane-active-border-fg black +set -g pane-active-border-bg green + +set -g allow-rename off + +set -g status-left-length 40 +set -g status-left "#[fg=green]Session: #S #[fg=yellow]#I #[fg=cyan]#P" + +# we live in the 21st century. people besides americans use computers. +# get used to it. +set -g status-utf8 on + +# no more front and back, side to side. keep it centered. +set -g status-justify centre + +setw -g monitor-activity on +set -g visual-activity on