# history set -g history-limit 100000 # use vi mode setw -g mode-keys vi set -g status-keys vi # easy-to-remember split pane commands bind | split-window -h bind - split-window -v unbind '"' unbind % # moving between panes with vim movement keys bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R # resize the pane bind-key -r J resize-pane -D 3 bind-key -r K resize-pane -U 3 bind-key -r H resize-pane -L 3 bind-key -r L resize-pane -R 3 set-option -g status-position top # fast search - not necessary to go to copy first (will switch to copy mode automatically) bind-key -T copy-mode-vi / command-prompt -i -p "(search down)" "send -X search-forward-incremental \"%%%\"" bind-key -T copy-mode-vi ? command-prompt -i -p "(search up)" "send -X search-backward-incremental \"%%%\"" bind / copy-mode \; command-prompt -i -p "(search up)" "send -X search-forward-incremental \"%%%\"" bind ? copy-mode \; command-prompt -i -p "(search down)" "send -X search-backward-incremental \"%%%\"" bind -T copy-mode-vi \} { send-keys -X end-of-line send-keys -X search-forward " " send-keys -X end-of-line send-keys -X search-backward " " send-keys -X stop-selection send-keys -X cursor-right } bind -T copy-mode-vi \{ { send-keys -X start-of-line send-keys -X search-backward " " send-keys -X end-of-line send-keys -X search-backward " " send-keys -X stop-selection send-keys -X cursor-right } bind \} copy-mode bind \{ copy-mode # Theme config set -g @dracula-plugins "cpu-usage gpu-usage ram-usage time" set -g @dracula-show-powerline true set -g @dracula-day-month true set -g @dracula-git-disable-status true set -g @dracula-left-icon-padding 1 set -g @dracula-show-left-icon session set -g @dracula-show-timezone false run "$XDG_CONFIG_HOME/tmux/plugins/dracula-tmux/dracula.tmux"