From 19c802aa52d2dc4a65cf7f72d8c79e5e1e1508f1 Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Tue, 18 Jun 2024 18:56:18 -0500 Subject: [PATCH] Add tmux config and bring back Neovim Tmux config seems like it probably solved things. Wondering if I outta put a line in there to automatically source the tmux config. Still can't believe I've went this long without needing to muck with the tmux config at all. I wonder how life will be different now, hopefully better. --- install | 2 +- tmux/.tmux.conf | 9 +++++++++ zsh/.aliases | 5 ++--- 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 tmux/.tmux.conf diff --git a/install b/install index 1cc36c0..303dfa0 100755 --- a/install +++ b/install @@ -23,7 +23,7 @@ else git pull origin main fi -stow git screen vim zsh +stow git screen tmux vim zsh if [[ `uname` == Darwin ]]; then stow macos diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf new file mode 100644 index 0000000..d8d01bd --- /dev/null +++ b/tmux/.tmux.conf @@ -0,0 +1,9 @@ +# Some stuff that I've been messing with to appease the tmux/nvim gods +# set -g default-terminal "xterm-256color" +# set-option -g default-terminal "xterm-256color" + +# Get my colorscheme working again in NeoVim 0.10+ +# Old tmux version +# set-default colorset-option -ga terminal-overrides ",xterm-256color:Tc" +# New tmux version +set-option -ga terminal-overrides ",xterm-256color:Tc" diff --git a/zsh/.aliases b/zsh/.aliases index 4f3dbeb..523479b 100644 --- a/zsh/.aliases +++ b/zsh/.aliases @@ -84,6 +84,5 @@ if [[ `uname` == Darwin ]]; then fi # Nvim takeover -# Nvim 0.10 borked my colorschemes, so getting back to basics with mainline Vim -# alias vim='nvim' -# alias vimdiff='nvim -d' +alias vim='nvim' +alias vimdiff='nvim -d'