From e11b9e4434b9d2963c376f1a546fdb46dd09c025 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 28 Aug 2022 23:15:04 +0100 Subject: [PATCH] Updates TMUX and TPM config locations --- tmux/{.tmux.conf => tmux.conf} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename tmux/{.tmux.conf => tmux.conf} (95%) diff --git a/tmux/.tmux.conf b/tmux/tmux.conf similarity index 95% rename from tmux/.tmux.conf rename to tmux/tmux.conf index 47dd522..24fd44d 100644 --- a/tmux/.tmux.conf +++ b/tmux/tmux.conf @@ -1,6 +1,7 @@ # To copy, left click and drag to highlight text in yellow, # once you release left click yellow text will disappear and will automatically be available in clibboard + # Use vim keybindings in copy mode setw -g mode-keys vi @@ -25,6 +26,9 @@ set -g visual-activity on # Use wider color pallete set -g default-terminal screen-256color +# Set install location for plugins +set-environment -g TMUX_PLUGIN_MANAGER_PATH "${XDG_DATA_HOME}/tmux/plugins" + # Install productivity plugins set -g @plugin 'tmux-plugins/tmux-sessionist' # Easily manage sessions set -g @plugin 'tmux-plugins/tmux-continuum' # Contineous saves environment for next time @@ -73,4 +77,4 @@ set -g @ram_high_bg_color "#[bg=1]" set -g @ram_high_fg_color "#[bg=white]" # Import TPM -run -b '~/.local/share/tmux/tpm' +run "${XDG_DATA_HOME}/tmux/plugins/tpm/tpm"