#// reloading your tmux config bind C-R source-file ~/.tmux.conf # Remapping prefix to Ctrl-a unbind C-b set -g prefix C-a bind c new-window -c "#{pane_current_path}" # Toggling windows with Ctrl-a + Ctrl-a bind-key C-a last-window # Jump to beginning of line in Bash bind a send-prefix # split panes using | and - bind-key | split-window -h -c "#{pane_current_path}" bind-key S split-window -v -c "#{pane_current_path}" unbind '"' unbind % # compatible with omz # set -g default-command "screen-256color" # Enable mouse mode (tmux 2.1 and above) set -g mouse on # Fix lag when switching modes in Vim set -sg escape-time 0 # vim style pane selection bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R # Use C-l to clear the screen. bind C-l send-keys 'C-l' #resizing bind-key _ resize-pane -D 5 bind-key + resize-pane -U 5 bind-key < resize-pane -L 5 bind-key > resize-pane -R 5 # # THEME # set -g status-bg black # set -g status-fg white # set -g status-interval 60 # set -g status-left-length 30 # # set -g status-left '#[fg=green](#S) #(whoami)' # set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=white]%H:%M#[default]' # Task manager set -g @tasks_manager 'taskwarrior' # Colors set -g @tasks_format_begin '#[fg=white,bg=colour236]' set -g @tasks_format_end '#[fg=white,bg=colour236]' # Icons set -g @tasks_icon_urgent '⧗ ' set -g @tasks_icon_outstanding '+ ' bind-key t set-option -g status # Status bar # set-option -g status on set-option -g set-titles on set -g status-interval 1 set-option -g update-environment "SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION DISPLAY" # set -g status-position bottom set -g status-bg colour237 set -g status-fg colour137 # set -g status-left '#[fg=colour197]#(~/bin/internet_info.sh) ' # set -g status-right '#[fg=colour81]♪ #(~/bin/now_playing.sh) #(~/bin/battery.sh) #[fg=colour255,bg=colour241,bold] %a %m-%d #[fg=colour255,bg=colour241,bold] %H:%M:%S #[fg=colour165]#[bg=default] #H ' # set -g status-right-length 100 # set -g status-left-length 70 set-window-option -g aggressive-resize set-option -g set-titles-string 'do epic shit. | #S | / #W' setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour170]#F ' set -g status off # turns off annoying status line # Plugins # List of plugins set -g @tpm_plugins ' \ tmux-plugins/tpm \ chriszarate/tmux-tasks \ soyuka/tmux-current-pane-hostname \ christoomey/vim-tmux-navigator \ ' set -g @plugin "arcticicestudio/nord-tmux" set -g @plugin 'sainnhe/tmux-fzf' # Other examples: # set -g @plugin 'github_username/plugin_name' # set -g @plugin 'git@github.com/user/plugin' # set -g @plugin 'git@bitbucket.com/user/plugin' # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm'