From dc942abd08ec0f39657c14bdd6702dd5f8aa701c Mon Sep 17 00:00:00 2001 From: James Dixon Date: Sat, 10 Oct 2020 16:24:00 -0400 Subject: [PATCH] update tmux conf --- stow/tmux/.tmux.conf | 25 ++++++++++++++++--------- stow/vim/.vim/.gitignore | 1 + 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/stow/tmux/.tmux.conf b/stow/tmux/.tmux.conf index ee4e1d1..1f4394c 100644 --- a/stow/tmux/.tmux.conf +++ b/stow/tmux/.tmux.conf @@ -1,22 +1,29 @@ -# Change default prefix +# change default prefix unbind C-b set-option -g prefix C-a bind-key C-a send-prefix -# terminal +# emulate a color terminal emulator set -g default-terminal "tmux-256color" # unset the annoying delay set -sg escape-time 0 +# mouse settings # set -g mouse on # set -g set-clipboard on # set -g focus-events on -set -g status-bg black -set -g status-fg white -set -g status-justify left -setw -g window-status-current-style "fg=white,bold" +# appearance +set -g status-style "bg=black fg=white,bold" +set -g window-status-current-style "fg=yellow,bold" + +# set -g status-bg black +# set -g status-fg white + +#==============# +# Key Bindings # +#==============# bind -n M-j select-pane -D bind -n M-k select-pane -U @@ -38,9 +45,9 @@ bind-key -r < swap-window -t -1 bind-key -r > swap-window -t +1 # New panes start in cwd -bind-key '"' split-window -v -c '#{pane_current_path}' -bind-key % split-window -h -c '#{pane_current_path}' -bind c new-window -c '#{pane_current_path}' +bind-key '"' split-window -v -c '#{pane_current_path}' +bind-key % split-window -h -c '#{pane_current_path}' +bind c new-window -c '#{pane_current_path}' # Source conf bind-key r source-file ~/.tmux.conf \; display-message "Sourced ~/.tmux.conf!" diff --git a/stow/vim/.vim/.gitignore b/stow/vim/.vim/.gitignore index e9816d5..cc205f3 100644 --- a/stow/vim/.vim/.gitignore +++ b/stow/vim/.vim/.gitignore @@ -3,3 +3,4 @@ plugged .backup .swap .undo +.netrwhist