diff --git a/tmux.conf b/tmux.conf index c447e98..2c88f06 100644 --- a/tmux.conf +++ b/tmux.conf @@ -6,6 +6,7 @@ set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{25 # Base index for windows set -g base-index 1 +setw -g pane-base-index 1 # Automatically rename windows when their program exits set -g automatic-rename on @@ -34,6 +35,8 @@ set-option -g history-limit 50000 # Act like vim setw -g mode-keys vi +set -g status-keys vi +set -sg escape-time 0 # Renumber windows sequentially after closing any of them set -g renumber-windows on @@ -77,7 +80,17 @@ bind r source-file ~/.tmux.conf\; display "Reloaded!" # Swap Window to Position 1 bind-key T swap-window -t 1 +# Return to last session +bind R switch-client -l + +# Remove Confirm Step When Killing a Window or Pane +bind-key & kill-window +bind-key x kill-pane + +# Lazygit bind G new-window -c "#{pane_current_path}" -n "" lazygit + +# Run Neovim Telescope find files bind F run-shell "nvr-tmux --remote-send ':Telescope find_files'" # Open cht.sh @@ -120,6 +133,9 @@ bind-key -T copy-mode-vi 'C-l' select-pane -R # ========= Plugins ========= +set -g @now-playing-scrollable-threshold 60 +set -g @now-playing-status-format "#[fg=cyan]ﱘ #[fg=white]{title} #[fg=cyan,nobold]#[fg=blue] #[fg=white]{artist}" + # prefix + I to install, prefix + U to update set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-battery'