Updated a few configs.

This commit is contained in:
Norm Rasmussen
2023-04-25 18:19:42 -04:00
parent eb70be50e6
commit 7254c723e8
19 changed files with 131 additions and 91 deletions

Submodule tmux/.config/tmux/plugins/tmux-nova deleted from 7bd3bceb99

Submodule tmux/.config/tmux/plugins/tmux-open-nvim deleted from 2f4818d0d2

Submodule tmux/.config/tmux/plugins/tmux-peacock deleted from b9bce7e817

Submodule tmux/.config/tmux/plugins/tmux-sidebar deleted from aacbdb45bc

Submodule tmux/.config/tmux/plugins/tmux-ssh-status deleted from 5d786c676f

Submodule tmux/.config/tmux/plugins/tmux-themepack deleted from 7c59902f64

Submodule tmux/.config/tmux/plugins/tokyo-night-tmux deleted from 26617ca796

Submodule tmux/.config/tmux/plugins/tpm updated: b699a7e01c...99469c4a9b

Submodule tmux/.config/tmux/plugins/vim-tmux-navigator updated: 9ca5bfe5bd...cdd66d6a37

View File

@ -1,3 +1,6 @@
set-environment -g PATH "/opt/homebrew/bin:/bin:/usr/bin"
set-window-option -g mode-keys vi
# Standard Plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
@ -6,17 +9,9 @@ set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
# synchronize panes toggle - literally typing at the same time in both panes!
# unbind C-s
# bind C-y set-window-option synchronize-panes
# Search your Scrollback using fzf
set -g @plugin 'roosta/tmux-fuzzback'
# Open files in Neovim from another pane
# Might not work on ZSH. Commenting out for now.
# set -g @plugin 'trevarj/tmux-open-nvim'
# Allow Focus Events
set -g focus-events on
@ -26,30 +21,6 @@ set-option -g mouse on
# Vim-Tmux-Navigator plugin/
set -g @plugin 'christoomey/vim-tmux-navigator'
# Navigating Vim & Tmux Panes
# Smart pane switching with awareness of Vim splits.
#is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
#bind-key -n 'C-h' if-shell "$is_vim" 'send-keys C-h' 'select-pane -L'
#bind-key -n 'C-j' if-shell "$is_vim" 'send-keys C-j' 'select-pane -D'
#bind-key -n 'C-k' if-shell "$is_vim" 'send-keys C-k' 'select-pane -U'
#bind-key -n 'C-l' if-shell "$is_vim" 'send-keys C-l' 'select-pane -R'
#tmux_version='$(tmux -V | sed -En "s/^tmux ([0-9]+(.[0-9]+)?).*/\1/p")'
#if-shell -b '[ "$(echo "$tmux_version < 3.0" | bc)" = 1 ]' \
# "bind-key -n 'C-\\' if-shell \"$is_vim\" 'send-keys C-\\' 'select-pane -l'"
#if-shell -b '[ "$(echo "$tmux_version >= 3.0" | bc)" = 1 ]' \
"bind-key -n 'C-\\' if-shell \"$is_vim\" 'send-keys C-\\\\' 'select-pane -l'"
#bind-key -T copy-mode-vi 'C-h' select-pane -L
#bind-key -T copy-mode-vi 'C-j' select-pane -D
#bind-key -T copy-mode-vi 'C-k' select-pane -U
#bind-key -T copy-mode-vi 'C-l' select-pane -R
#bind-key -T copy-mode-vi 'C-\' select-pane -l
# Themes
# set -g @plugin 'o0th/tmux-nova'
#set -g @plugin "janoamaral/tokyo-night-tmux"
# Dracula
set -g @plugin 'dracula/tmux'
set -g @dracula-plugins "git weather network-ping cpu-usage time"
@ -75,10 +46,10 @@ set -g @dracula-git-no-repo-message ⊚
set -g @dracula-show-timezone false
set -g @dracula-military-time true
run-shell ~/clone/path/continuum.tmux
#run-shell ~/.dotfiles/tmux/.config/tmux/plugins/tmux-continuum/continuum.tmux
# Autoreload tmux.conf
set-option -g @plugin 'b0o/tmux-autoreload'
# set-option -g @plugin 'b0o/tmux-autoreload'
# Initiazlie TMUX plugin manager - kept at bottom of file
run '~/.config/tmux/plugins/tpm/tpm'
# run '~/.config/tmux/plugins/tpm/tpm'
run '~/.dotfiles/tmux/.config/tmux/plugins/tpm/tpm'