Compare commits

..

2 Commits

@ -120,9 +120,13 @@ bind-key M-4 send-keys "$FAVORITE_COMMAND4"
unbind r
bind r source-file ~/.tmux.conf \; display-message "config reloaded!"
# plugin fzf-session-switch
set -g @fzf-goto-session 's'
# Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin "arcticicestudio/nord-tmux"
set -g @plugin "brokenricefilms/tmux-fzf-session-switch"
# run tpm
run -b '~/.tmux/plugins/tpm/tpm'

@ -64,6 +64,15 @@ if command -v tig &>/dev/null; then
alias tiga='tig --all'
fi
# Function to run after every 'cd' command
chpwd() {
# Check if the current directory is a Git repository
if git rev-parse --is-inside-work-tree 2>/dev/null; then
echo "Fetching latest changes from remote..."
git fetch
fi
}
# ---------------------------------------------------------------------------
# Editor
# ---------------------------------------------------------------------------

Loading…
Cancel
Save