added tmux conf

This commit is contained in:
Christian Koptein 2020-09-14 23:57:56 +02:00
parent beeffadbfd
commit 1f148470c3
2 changed files with 52 additions and 0 deletions

View File

@ -4,4 +4,5 @@ Enable:
``` ```
rm ~/.config/conky/conky.conf && mkdir -p $HOME/.config/conky && ln -s $(pwd)/conky.conf $HOME/.config/conky.conf 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)/conky.desktop $HOME/.config/autostart/conky.desktop
ln -s $(pwd)/tmux.conf $HOME/.tmux.conf
``` ```

51
tmux.conf Normal file
View File

@ -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