Note: This site is currently "Under construction". I'm migrating to a new version of my site building software. Lots of things are in a state of disrepair as a result (for example, footnote links aren't working). It's all part of the process of building in public. Most things should still be readable though.

My tmux Config (~/.tmux.conf)

Code

#########################################
# DO NOT EDIT THIS 
# 
# Unless you're in the grimoire. 
# Otherwise, go to file: 2swfinzw

#########################################
# Remap LEADER from CTRL-b to CTRL-s
# to make it easier to reach. 

set -g prefix C-s

#########################################
# Reload config with LEADER-r

unbind r
bind r source-file ~/.tmux.conf

#########################################
# Turn off the datetime on the right side

set-option -g status-right ""

#########################################
# Make the status bar blend in more

set -g status-bg color233
set -g status-fg color25

#########################################
# Turn on mouse scroll wheel

setw -g mouse on

#########################################
# Pretty sure this is what lets
# neovim pick up the leader key 
# immediately. 

set -s escape-time 0

#########################################
# Move status line to the top

set -g status-position top

#########################################
# Set border colors and title

set -g pane-border-lines double
set -g pane-border-style fg=#699bed
set -g pane-active-border-style fg=#699bed
set -g pane-border-status top
set -g pane-border-format " #{s/dojo.local//:#{pane_title}} "

#########################################
# Basic tmux plugin manager

set -g @plugin 'tmux-plugins/tpm'

#########################################
# Initial example from tmux plugin manager
# Not sure what this actually does. TBD

set -g @plugin 'tmux-plugins/tmux-sensible'

#########################################
# Set cross-nav with neovim to use the 
# same keys to jump between all the
# panes

set -g @plugin 'christoomey/vim-tmux-navigator'

#########################################
# Initialize TMUX plugin manager 
# (keep this line at the very bottom of 
# tmux.conf)

run '~/.tmux/plugins/tpm/tpm'

Currnet Not In Rotation

Code

#########################################
# TBD on turning these on. 
# Currnelty trying marco keys 
# from the keyboard

# set -g mode-keys vi
# bind-key h select-pane -L
# bind-key j select-pane -D
# bind-key k select-pane -U
# bind-key l select-pane -R

#########################################
# These don't work as expected. It takes
# a long time for tmux to update them and
# never saw the version that was supposed
# to pull from the local file work. Leaving
# the title off for now and setting it
# manually (or via script) for each 
# pane
# 
# set -g pane-border-format " #{pane_current_path} "
# set -g pane-border-format " #(echo 'hello world') "
# set -g pane-border-format " #(if [ -f .tmux_title.txt ]; then cat .tmux_title.txt; fi) "
# set -g pane-border-format " $HOME"
# set -g pane-border-format " #(pwd) -ddd- "
# set -g default-shell /bin/bash
# set -g default-command /bin/zsh
# set -g default-command /usr/bin/fish
# set -g default-shell /usr/bin/fish

#########################################
# Use Dracula for the status line which 
# turns on a bunch of things by default
# NOTE: This overrides the border colors
# from above

# set -g @plugin 'dracula/tmux'

#########################################
# Setting status line to just CPU and time
# to prevent weather from showing

# set -g @dracula-plugins "cpu-usage time"


#########################################
# Other general customizations for the
# status bar

# set -g @dracula-show-powerline true
# set -g @dracula-show-flags true
# set -g @dracula-border-contrast true
# set -g @dracula-show-empty-plugins false
# set -g @dracula-cpu-usage-label "|"
# set -g @dracula-cpu-display-load false 
# set -g @dracula-show-timezone false

#########################################
# Try to show what the current pane is
# running on the left site of the bar

# set -g @dracula-show-left-icon window