From 77d39002eeb433ecddc75524119c8247c997b17d Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Sat, 2 Nov 2024 00:37:24 -0400 Subject: [PATCH] added tmux --- .config/tmux/tmux.conf | 48 ++++++------------------------------------ 1 file changed, 7 insertions(+), 41 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index d0b3c466..58681bda 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,47 +1,13 @@ -set-option -sa terminal-overrides ",xterm*:Tc" +unbind r +bind r source-file ~/.config/tmux/tmux.conf +unbind C-b +unbind C-t +set -g prefix C-t set -g mouse on -unbind C-b -set -g prefix C-Space -bind C-Space send-prefix - -# Shift Alt vim keys to switch windows -bind -n M-H previous-window -bind -n M-L next-window - -# Start windows and panes at 1 -set -g base-index 1 -setw -g pane-base-index 1 -# set-window-option -g pane-base-index 1 -set-option -g renumber-windows on +set -g @cursor-style 'bar' set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' -set -g @plugin 'christoomey/vim-tmux-navigator' -set -g @plugin 'dracula/tmux' -set -g @plugin 'tmux-plugins/tmux-yank' -# set -g @plugin 'tmux-plugins/tmux-resurrect' -# set -g @plugin 'tmux-plugins/tmux-continuum' -set -g @continuum-restore 'on' - -# Theme configuration -set -g @dracula-plugins "git" -set -g @dracula-show-powerline true -set -g @dracula-show-flags true -set -g @dracula-show-left-icon smiley -set -g @dracula-show-empty-plugins false - -# set vi-mode -set-window-option -g mode-keys vi -# keybindings -bind-key -T copy-mode-vi v send-keys -X begin-selection -bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle -bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel -bind-key g setw synchronize-panes \; display-message 'Pane synchronization #{?pane_synchronized,on,off}' - -# Open panes in current directory -bind '"' split-window -v -c "#{pane_current_path}" -bind % split-window -h -c "#{pane_current_path}" - -run '~/.tmux/plguins/tpm/tpm' +run '/usr/share/tmux-plugin-manager/tpm'