Files
tmux/tmux.conf

37 lines
1.2 KiB
Bash

# TMUX configuration for using tmux as an IDE
# This file contains a minimal configuration and diffent layout.
# enable the default terminal colours
set -g default-terminal "${TERM}"
set -ag terminal-overrides ",${TERM}:Tc"
# set the background colours for the status bar.
set -g status-bg "#544788"
set -g status-fg white
# set matching colours to for the active and inactive pane borders.
set -g pane-border-style "fg=#544788"
set -g pane-active-border-style "fg=#8066b3"
# enable the mouse mode
set -g mouse on
# Use xclop to copy and paste with the system clipboard
bind C-c run "tmux save-buffer - | xclip -i sel clip"
bind C-v run "tmux set-buffer $(xclip -o sel clip); tmux paste-buffer"
# Use lazygit for version control.
bind-key g display-popup -d "#{pane_current_path}" -x C -y C -w 80% -h 80% -E 'lazygit'
# open an ai chat window to the left of the main screen
bind-key a split-window -bh -p 20 -c "#{pane_current_path}" 'aichat-ng'
# Configure the plugin manager
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'joshmedeski/tmux-nerd-font-window-name'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'