# HG changeset patch # User Steve Losh # Date 1647631798 14400 # Node ID c7951f2b75a3fd466b2767f3ba65a00a03a110f5 # Parent 0a0656fc952ab841c7fa0a2a1ea8b61d8dea35d1 More cleanup diff -r 0a0656fc952a -r c7951f2b75a3 grcat/conf.curl --- a/grcat/conf.curl Fri Mar 18 15:23:35 2022 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ -# request -regexp=(^\* .*) -colours=bright_black -======= -# request -regexp=(^> .*) -colours=bright_black -======= -# response -regexp=(^< .*) -colours=blue -======= -# ok response code -regexp=^< HTTP.+ ([23]...*) -colours=blue, bold green -======= -# error response code -regexp=^< HTTP.+ ([45]...*) -colours=blue, bold red -======= -regexp=.*\[.* bytes data\] -colours=bright_black diff -r 0a0656fc952a -r c7951f2b75a3 grcat/conf.go-test --- a/grcat/conf.go-test Fri Mar 18 15:23:35 2022 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,13 +0,0 @@ -regexp=(^=== RUN).* -colours=cyan,bold cyan -======= -regexp=(^--- PASS).* -colours=green,bold green -======= -regexp=(^--- FAIL).* -colours=red,bold red -======= -regexp=(^(ok|FAIL|\?)\s.*$) -colours=bright_black,bright_black - - diff -r 0a0656fc952a -r c7951f2b75a3 grcat/conf.tail-vm --- a/grcat/conf.tail-vm Fri Mar 18 15:23:35 2022 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -# err -regexp=(ERR ) -colours=default,red -======= -# warn -regexp=(WARNING ) -colours=default,yellow -======= -# info -regexp=(INFO ) -colours=default,cyan -======= -# time -regexp=(^\d\d:\d\d:\d\d) -colours=bright_black diff -r 0a0656fc952a -r c7951f2b75a3 tmux/tmux.conf --- a/tmux/tmux.conf Fri Mar 18 15:23:35 2022 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,130 +0,0 @@ -# Use something easier to type as the prefix. -set -g prefix C-f -unbind C-b -bind C-f send-prefix - -# Relax! -set -sg escape-time 0 -set -sg repeat-time 600 - -# Shut up. -#set -g quiet on - -# Focus -set -g focus-events - -# Mouse -set -g mouse on - -# Less stretching to get to the first item. -set -g base-index 1 -setw -g pane-base-index 1 - -# Reload the config. -bind R source-file ~/.tmux.conf \; display "Reloaded ~/.tmux.conf" - -# Rename session. -bind r command-prompt -I "#S" "rename-session '%%'" - -# Saner splitting. -bind v split-window -h -c '#{pane_current_path}' -bind s split-window -v -c '#{pane_current_path}' -bind S choose-session - -# Pane movement -bind h select-pane -L -bind j select-pane -D -bind k select-pane -U -bind l select-pane -R - -# DVTM style pane selection -# bind 1 select-pane -t 1 -# bind 2 select-pane -t 2 -# bind 3 select-pane -t 3 -# bind 4 select-pane -t 4 -# bind 5 select-pane -t 5 -# bind 6 select-pane -t 6 -# bind 7 select-pane -t 7 -# bind 8 select-pane -t 8 -# bind 9 select-pane -t 9 - -# Layouts -# set -g main-pane-width 260 -# bind M select-layout main-vertical -# bind E select-layout even-horizontal - -# Pane resizing -bind -r C-h resize-pane -L 5 -bind -r C-j resize-pane -D 5 -bind -r C-k resize-pane -U 5 -bind -r C-l resize-pane -R 5 - -# Window movement -# Only really makes sense if you have your parens bound to shifts like me. -bind -r ( select-window -t :- -bind -r ) select-window -t :+ -bind-key -r H swap-window -t -1 -bind-key -r L swap-window -t +1 -bind m command-prompt "move-window -t %%" -bind - choose-tree - -# 256 colors please -set -g default-terminal "screen-256color" -# set -g default-terminal "tmux-256color" - -# Bad Wolf -set -g status-fg white -set -g status-bg colour234 -set -g window-status-activity-attr bold -set -g pane-border-fg colour245 -set -g pane-active-border-fg colour39 -set -g message-fg colour16 -set -g message-bg colour221 -set -g message-attr bold - -# Custom status bar -# Powerline symbols: ⮂ ⮃ ⮀ ⮁ ⭤ -set -g status-left-length 32 -set -g status-right-length 150 -set -g status-interval 5 - -set -g status-left '#[fg=colour16,bg=colour254,bold] #S #[fg=colour238,bg=colour234,nobold] ' - -set -g status-right "#[fg=colour245]#(date -u +%%H:%%M) UTC %d %b #[fg=colour16,bg=colour254,bold] #h " - -set -g window-status-format "#[fg=white,bg=colour234] #I #W " -set -g window-status-current-format "#[fg=colour16,bg=colour39,noreverse,bold] #I #W #[fg=colour39,bg=colour234,nobold] " - -# Activity -setw -g monitor-activity on -set -g visual-activity off - -# Autorename sanely. -# setw -g automatic-rename on - -# Better name management -bind c new-window -a -bind , command-prompt "rename-window '%%'" -bind > run-shell "tmux rename-window `basename #{pane_current_path}`" - -# Copy mode -setw -g mode-keys vi -bind ` copy-mode -unbind [ -unbind p -bind p paste-buffer - -bind -T copy-mode-vi 'v' send -X begin-selection -bind -T copy-mode-vi 'y' send -X copy-pipe-and-cancel pbcopy -bind -T copy-mode-vi Escape send -X cancel -bind -T copy-mode-vi V send -X rectangle-toggle -bind -T copy-mode-vi H send-keys -X start-of-line -bind -T copy-mode-vi L send-keys -X end-of-line -bind y run "tmux save-buffer - | xsel --clipboard --input" - -# Toggle synchronized panes for the current window -bind S set synchronize-panes - -# Let neovim change the cursor shape -set -g -a terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q' -