Added nvim-tmux config

This commit is contained in:
2023-10-03 10:15:57 -04:00
parent 6cb0744e92
commit f55eca41f0
3 changed files with 15 additions and 4 deletions

View File

@@ -7,6 +7,8 @@ set -g window-status-current-style "underscore"
set -g status-bg red
%endif
TMUX_FZF_OPTIONS="-p -w 60% -h 80% -m"
# Enable RGB colour if running in xterm(1)
set-option -sa terminal-overrides ",xterm*:Tc"
@@ -59,15 +61,18 @@ bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
bind -T prefix j select-pane -D
bind -T prefix k select-pane -U
bind -T prefix h select-pane -L
bind -T prefix l select-pane -R
# bind -T prefix j select-pane -D
# bind -T prefix k select-pane -U
# bind -T prefix h select-pane -L
# bind -T prefix l select-pane -R
bind-key -r K kill-pane
# Use Shift-arrow keys to navigate windows.
bind -n S-Left previous-window
bind -n S-Right next-window
bind -n M-h previous-window
bind -n M-L next-window
bind C-l send-keys 'C-l'
bind-key -r f run-shell "tmux neww ~/.local/scripts/tmux-sessionator"
bind-key -r C run-shell "tmux neww ~/.local/scripts/tmux-sessionator ~/.dotfiles"
@@ -81,6 +86,7 @@ set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'sainnhe/tmux-fzf'
set -g @plugin 'erikw/tmux-powerline'
set -g @plugin 'christoomey/vim-tmux-navigator'
# Needs to stay at the bottom.
run '~/.config/tmux/plugins/tpm/tpm'