From b7ef7c8ca422edaed7a07843fe994c039ca19429 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 23 Sep 2022 13:27:46 +0200 Subject: Updated tmux and alacritty config to try to make tmux scrolling better with alacritty --- config/alacritty/alacritty.darwin.yml | 6 ++++++ config/tmux/tmux.conf | 1 + install | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/config/alacritty/alacritty.darwin.yml b/config/alacritty/alacritty.darwin.yml index 417c54a..b8794ae 100644 --- a/config/alacritty/alacritty.darwin.yml +++ b/config/alacritty/alacritty.darwin.yml @@ -34,6 +34,12 @@ key_bindings: - { key: Return, mods: Command, action: ToggleSimpleFullScreen } - { key: Q, mods: Command, chars: "" } +scrolling: + history: 10000 + multiplier: 3 + faux_multiplier: 3 + auto_scroll: false + # Colors (Nord) # colors: # primary: diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index eb20984..328a92f 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -14,6 +14,7 @@ set -s history-file '~/.local/share/tmux/history' set -g mouse on setw -g mode-keys vi +set -ga terminal-overrides ',screen-256color:smcup@:rmcup@' set -sg escape-time 0 # otherwise in vim has a small delay set -sg bell-action none diff --git a/install b/install index 87c447a..3328f0c 100755 --- a/install +++ b/install @@ -73,7 +73,7 @@ echo '---------------------------- INSTALL NVIM PACKER ------------------------- PACKERDIR="$XDG_DATA_HOME/nvim/site/pack/packer/start/packer.nvim" PACKERURL='https://github.com/wbthomason/packer.nvim' [ ! -d "$PACKERDIR" ] && git clone --depth 1 "$PACKERURL" "$PACKERDIR" -nvim -c 'PackerInstall' -c 'PackerUpdate' -c "qa" +nvim -c 'PackerInstall' -c 'PackerSync' -c "qa" ############################################################################### # zsh pluggins -- cgit From 6edce8d07d2cc472ba298a0eebe451e3f02e5c57 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 23 Sep 2022 14:29:12 +0200 Subject: Added env variable to disable brew auto update --- config/zsh/.zshenv | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/zsh/.zshenv b/config/zsh/.zshenv index 273827a..94910be 100644 --- a/config/zsh/.zshenv +++ b/config/zsh/.zshenv @@ -79,3 +79,5 @@ export MINIKUBE_IN_STYLE=false # disable cringe minikube emojies export CLOUT_SYNC_DIR="clout-sync/" export CLOUT_SYNC_PATH="${XDG_DATA_HOME:-$HOME/.sync}/$CLOUT_SYNC_DIR" +export HOMEBREW_NO_AUTO_UPDATE=1 # disable brew updating stuff when I install + -- cgit From 480bb130da18244e4939d2f1a1e00c1aa2b61237 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sun, 25 Sep 2022 16:04:24 +0200 Subject: Fixing install script not sourcing zshenv --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index 87c447a..78e3730 100755 --- a/install +++ b/install @@ -2,7 +2,7 @@ # zprofile isn't installed yet on new machine # shellcheck source=/dev/null -. config/zsh/zprofile +. config/zsh/.zshenv if [ "$USER" = 'root' ] then -- cgit