From e724b7a7832a370e27ee122ae5d20f20e8c626d0 Mon Sep 17 00:00:00 2001 From: Rob Muhlestein Date: Sun, 16 Jul 2023 00:23:11 -0400 Subject: [PATCH] chore: reorder .tmux.conf --- tmux/.tmux.conf | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 2431f19..24c008f 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -1,25 +1,20 @@ -# Configured by Rob Muhlestein (rwxrob.live) +# Configured by Rob Muhlestein (rwxrob.tv) # This file is copyright free (public domain). -# fix accidently typing accent characters, etc. -# by forcing the terminal to not wait around -# (every single tmux file should have this) -set -sg escape-time 0 - # change default meta key to same as screen unbind C-b unbind C-a set -g prefix C-a -# form vim/tmux d/y buffer sync -set -g focus-events - -# use a different prefix for nested -bind-key -n C-y send-prefix +# reload configuration +bind -r r source-file ~/.tmux.conf # add double-tap meta key to toggle last window bind-key C-a last-window +# use a different prefix for nested +bind-key -n C-y send-prefix + # pane colors and display # create more intuitive split key combos (same as modern screen) @@ -82,9 +77,6 @@ set -g mode-style "bg=black" # very unique Mac bug if-shell "type 'reattach-to-user-namespace' >/dev/null" "set -g default-command 'reattach-to-user-namespace -l $SHELL'" -# reload configuration -bind -r r source-file ~/.tmux.conf - set -g status-style "fg=#665c54" set -g status-bg default set -g status-position top @@ -109,3 +101,12 @@ set -g message-style "fg=red" # disable status #set -g status off set -g status on + +# fix accidently typing accent characters, etc. +# by forcing the terminal to not wait around +# (every single tmux file should have this) +set -sg escape-time 0 + +# form vim/tmux d/y buffer sync +set -g focus-events +