chore: reorder .tmux.conf

This commit is contained in:
Rob Muhlestein 2023-07-16 00:23:11 -04:00
parent 07f5a10232
commit e724b7a783

View File

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