diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 8b23714..e94c541 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,10 +1,20 @@ # $XDG_CONFIG_HOME/tmux/tmux.conf # ln -sf $DOTFILES/.config/tmux/tmux.conf $XDG_CONFIG_HOME/tmux/tmux.conf + # Prefix # ----------------- -set-option -g prefix C-x +set-option -g prefix C-a unbind C-b -bind C-x send-prefix +bind C-a send-prefix + +# Options +set-option -g mouse on +set-option -g default-terminal "screen-256color" +set-option -g allow-rename on +set-option -g alternate-screen on +set-option -g visual-activity on +set-option -g pane-border-style fg=colour244 +set-option -g pane-activity-border-style fg=colour239 # Index # ----------------- @@ -17,7 +27,7 @@ set -g history-limit 4096 # Reload Config # ----------------- -bind r source-file ~/.tmux.conf \; display "Reloaded Config" +bind r source-file ~/.config/tmux/tmux.conf \; display "Reloaded Config" # Vi Mode # ----------------- @@ -34,6 +44,18 @@ bind h select-pane -L bind n select-pane -D bind e select-pane -U bind i select-pane -R +bind -r H resize-pane -L 5 +bind -r N resize-pane -D 5 +bind -r E resize-pane -U 5 +bind -r I resize-pane -R 5 +bind C-h select-window -t :- +bind C-l select-window -t :+ +bind ` resize-pane -Z - - +# Status Bar +# ----------------- +set -g status-position top +set-option -g status-bg black +set-option -g status-fg white +set-option -g status-left '#[fg=green][#S] ' +setw -g window-status-current-format '#[fg=colour236,bg=colour39] #I #W ' diff --git a/mac/Microsoft.PowerShell_profile.ps1 b/mac/Microsoft.PowerShell_profile.ps1 index a54d167..d5ed456 100644 --- a/mac/Microsoft.PowerShell_profile.ps1 +++ b/mac/Microsoft.PowerShell_profile.ps1 @@ -2,7 +2,7 @@ # ln -sf $DOTFILES/mac/Microsoft.PowerShell_profile.ps1 $XDG_CONFIG_HOME/powershell/Microsoft.PowerShell_profile.ps1 ### Variables ### -$DOTFILES = "$HOME\.dotfiles" +$DOTFILES = "$HOME/.dotfiles" ### Load Configs ### diff --git a/mac/mac_setup.sh b/mac/mac_setup.sh index d4cf396..6a921bf 100644 --- a/mac/mac_setup.sh +++ b/mac/mac_setup.sh @@ -297,4 +297,7 @@ duti -s com.jetbrains.rider .csproj all duti -s com.jetbrains.rider .fsproj all # Video -> IINA duti -s com.colliderli.iina .mp4 all -duti -s com.colliderli.iina .mkv all \ No newline at end of file +duti -s com.colliderli.iina .mkv all + +mkdir -p $DOTFILES/powershell_private +touch $ZDOTDIR/.private.env.sh \ No newline at end of file