# tmux configuration by sharpicx. # my lovely arch, archicx. # Unbinded keys unbind n # default: next window unbind p # default: previous winodow unbind C-b # default: prefix unbind r unbind h unbind v unbind % # default: key of vertcial split unbind '"' # default: key of horizontal split unbind c # default: create a new window unbind k # default: none at all. unbind , # default: rename unbind + unbind C-c # --- # --- # General Settings. # --- set -g repeat-time 300 setw -g allow-rename off setw -g automatic-rename off set -g buffer-limit 20 set -g default-terminal "screen-256color" set -g base-index 1 # --- # replacing the default prefix with a new one. # --- set -g prefix C-Space bind-key C-Space send-prefix # --- # key to reload a config file. # --- bind + source ~/.tmux.conf \; display 'CONFIG RELOADED!' # --- # Window settings # --- # create window bind c new-window -c "#{pane_current_path}" # kill window and pane bind x kill-pane bind X kill-window # renaming window & session bind r command-prompt "rename-window '%%" bind R command-prompt "rename-session '%%'" # hotkey to switch between panes bind -n S-Left select-pane -L bind -n S-Right select-pane -R bind -n S-Up select-pane -U bind -n S-Down select-pane -D # hotkeys to make a move between windows in a session. bind -n C-Left previous-window bind -n C-Right next-window # tmux pane border colors set -ag pane-border-style fg=white,bg=black set -ag pane-active-border-style fg=blue,bg=black # Splitting Panels. bind - split-window -v -c "#{pane_current_path}" bind | split-window -h -c "#{pane_current_path}" set -g display-panes-time 1500 # activating UTF-8 # set-window-option -g utf8 on # status line source "/usr/lib/python3.10/site-packages/powerline/bindings/tmux/powerline.conf" # set window title set-window-option -g automatic-rename on set-option -g set-titles on # Mouse mode. set -g mouse on # adding more history. set -g history-limit 200000 # List of plugins set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-cpu' # Other examples: # doesnt work set -g @plugin "arcticicestudio/nord-tmux" set -g @plugin 'b0o/tmux-autoreload' # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run -b '~/.tmux/plugins/tpm/tpm'