summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2024-05-24 20:46:24 -0400
committerMatt Turner <mattst88@gmail.com>2024-05-25 00:03:44 -0400
commit871a42830ef83d521d8e9c00fffb0f247de94f54 (patch)
tree9f9762cfe288b07dd6e7d294152bcf30cafef355
parent6ed5e0e71239954d2468f4a0cd268076ec3bf4d0 (diff)
tmux: Add plugins
-rw-r--r--tmux/.config/tmux/tmux.conf25
1 files changed, 21 insertions, 4 deletions
diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf
index 26ecf5f..f13e41b 100644
--- a/tmux/.config/tmux/tmux.conf
+++ b/tmux/.config/tmux/tmux.conf
@@ -1,7 +1,24 @@
-set-option -g default-shell $SHELL
-set -g prefix C-a
+set-option -sa terminal-features ',xterm-256color:RGB'
+
unbind-key C-b
bind-key C-a send-prefix
+set -g prefix ^A
+set -g base-index 1 # start indexing windows at 1 instead of 0
+set -g detach-on-destroy off # don't exit from tmux when closing a session
+set -g escape-time 0 # zero-out escape time delay
+set -g history-limit 1000000 # increase history size (from 2,000)
+set -g renumber-windows on # renumber all windows when any window is closed
+set -g set-clipboard on # use system clipboard
+set -g default-terminal "${TERM}"
+set -g default-shell "${SHELL}"
+set -g mouse
+set -g pane-active-border-style 'fg=magenta,bg=default'
+set -g pane-border-style 'fg=brightblack,bg=default'
+set -gw mode-keys vi
-set-option -g mouse
-set-option -sa terminal-features ',xterm-256color:RGB'
+set -g @plugin 'tmux-plugins/tpm'
+set -g @plugin 'tmux-plugins/tmux-sensible'
+set -g @plugin 'joshmedeski/tmux-nerd-font-window-name'
+set -g @plugin 'wfxr/tmux-fzf-url'
+
+run '~/.tmux/plugins/tpm/tpm'