diff options
Diffstat (limited to 'tmux')
| -rwxr-xr-x | tmux/.tmux.conf | 43 | ||||
| -rw-r--r-- | tmux/.tmux.theme.conf | 19 |
2 files changed, 62 insertions, 0 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf new file mode 100755 index 0000000..77197aa --- /dev/null +++ b/tmux/.tmux.conf @@ -0,0 +1,43 @@ +# Limit history to 100.000 lines +set-option -g history-limit 100000 + +set -g default-terminal "tmux-256color" +set -ag terminal-overrides ",alacritty:RGB" + +# Remap prefix from 'C-b' to 'C-a' +unbind C-b +set-option -g prefix C-a +bind-key C-a send-prefix + +# VI-mode +set-window-option -g mode-keys vi + +# Remove ESC delay +set -s escape-time 0 + +set -g set-titles on +set -g set-titles-string "#T" + +# Move between panes with Shift +bind -n S-Left select-window -p +bind -n S-Right select-window -n +bind -n S-Down new-window +bind -n S-Up command-prompt "rename-window %%" + +# Create new windows shortcut +bind -n C-b split-window -v +bind -n C-h split-window -h + +# Enable mouse mode (tmux 2.1 and above) +set -g mouse on + +# Don't rename windows automatically +setw -g automatic-rename off +# Renumber windows when a window is closed +set -g renumber-windows on + +# Set status bar to top +#set-option -g status-position top + +# Load theme +if '[ -f ~/.tmux.theme.conf ]' 'source ~/.tmux.theme.conf' diff --git a/tmux/.tmux.theme.conf b/tmux/.tmux.theme.conf new file mode 100644 index 0000000..1e42f34 --- /dev/null +++ b/tmux/.tmux.theme.conf @@ -0,0 +1,19 @@ +set -g status-justify "left" +set -g status "on" +set -g status-left-style "none" +set -g message-command-style "fg=colour15,bg=colour236" +set -g status-right-style "none" +set -g pane-active-border-style "fg=colour32" +set -g status-style "none,bg=default" +set -g message-style "fg=colour15,bg=colour236" +set -g pane-border-style "fg=colour236" +set -g status-right-length "100" +set -g status-left-length "100" +setw -g window-status-activity-style "none" +setw -g window-status-separator "" +setw -g window-status-style "none,fg=colour15,bg=default" +set -g status-left "#[fg=colour235,bg=blue,none] #S #[fg=blue,bg=default,none] " +set -g status-right "#[fg=colour235,bg=default,nobold,nounderscore,noitalics]#[fg=colour15,bg=colour235] %d-%m-%Y %H:%M #[fg=blue,bg=colour235,nobold,nounderscore,noitalics]#[fg=colour15,bg=colour32] #h " +setw -g window-status-format "#[fg=colour15,bg=default,none] #I #[fg=colour15,bg=default] #W " +setw -g window-status-current-format "#[fg=colour235,bg=colour32,none] #I #[fg=colour235,bg=colour32,none] #W " + |
