setw -g mode-keys vi # vim-like pane resizing bind -r C-k resize-pane -U bind -r C-j resize-pane -D bind -r C-h resize-pane -L bind -r C-l resize-pane -R # vim-like pane switching bind -r k select-pane -U bind -r j select-pane -D bind -r h select-pane -L bind -r l select-pane -R # and now unbind keys unbind Up unbind Down unbind Left unbind Right unbind C-Up unbind C-Down unbind C-Left unbind C-Right bind-key -n C-S-Left swap-window -t -1; select-window -t -1 bind-key -n C-S-Right swap-window -t +1; select-window -t +1 # creating and killing new sessions bind S command-prompt -p "New Session:" "new-session -A -s '%%'" bind K confirm kill-session # From Ctrl-B to Ctrl-A unbind-key C-b set-option -g prefix C-a bind-key C-a send-prefix # Setting up tmux package manager (TPM) set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' # Trying out tmux themes ### catppuccin: # set -g @plugin 'catppuccin/tmux' # run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux # set -g @catppuccin_flavor 'macchiato' # latte, frappe, macchiato or mocha ### minimal theme (used previously:) set -g @plugin 'niksingh710/minimal-tmux-status' ### toggle status bar bind-key b set-option status ### status bar transparent set status-bg default # automatically renumber windows set-option -g renumber-windows on # fuzzy search terminal output (prefix-key -> tab) set -g @plugin 'laktak/extrakto' # Trying to get image.nvim working set -gq allow-passthrough on run '~/.tmux/plugins/tpm/tpm'