Last active
May 26, 2024 20:53
-
-
Save onixus74/74848002e7ca0f3578130ed4dc5688a0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set -ga terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q' | |
# Add truecolor support | |
set-option -ga terminal-overrides "xterm-256color:Tc" | |
# Default terminal is 256 colors | |
# Default terminal is 256 colors | |
# set -g default-terminal "screen-256color" | |
# OR (With italics) | |
set -g default-terminal "xterm-256color" | |
set-option -sg escape-time 10 | |
set -g lock-after-time 300 | |
set -g lock-command "cmatrix -abs" | |
#TPM | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'christoomey/vim-tmux-navigator' | |
# THEMES | |
set -g @plugin 'jimeh/tmux-themepack' | |
set -g @plugin 'wfxr/tmux-power' | |
# set -g @plugin 'odedlaz/tmux-onedark-theme' | |
set -g @plugin 'ofirgall/tmux-window-name' | |
set -g @plugin 'tmux-plugins/tmux-resurrect' | |
set -g @plugin 'tmux-plugins/tmux-continuum' | |
# set -g @plugin 'olimorris/tmux-pomodoro-plus' | |
# tmux windows in FZF - WIP | |
set -g @plugin 'sainnhe/tmux-fzf' | |
#yank words with Fzf | |
set -g @plugin 'laktak/extrakto' | |
#yank Easy motion | |
#set -g @plugin 'fcsonline/tmux-thumbs' | |
#Easy motion | |
#set -g @plugin 'schasse/tmux-jump' | |
#THEME jimeh/tmux-themepack | |
#set -g @themepack 'powerline/double/green' | |
# set -g @themepack 'powerline/double/cyan' | |
#THEME wfxr/tmux-power | |
# 'default', 'coral' , 'everforest', 'moon', 'gold', 'snow', 'violet', 'redwine', 'forest' | |
set -g @tmux_power_theme 'everforest' | |
# Fish Default | |
#set -g default-command /usr/bin/fish | |
#set -g default-shell /usr/bin/fish | |
# Enable mouse | |
set -g mouse on | |
# Status Bar | |
#set-option -g status on # turn the status bar on | |
# set -g status-utf8 on # set utf-8 for the status bar | |
#set -g status-interval 2 # set update frequencey (default 15 seconds) | |
# set -g status-justify centre # center window list for clarity | |
# set-option -g status-position top # position the status bar at top of screen | |
#Continuous Session Saving | |
set -g @continuum-restore 'on' | |
#Display | |
set -g base-index 1 # start windows numbering at 1 | |
setw -g pane-base-index 1 # make pane numbering consistent with windows | |
setw -g automatic-rename on # rename window to reflect current program | |
set -g @tmux_window_name_max_name_len "54" | |
# set -g @tmux_window_name_shells "['bash', 'fish', 'sh', 'zsh']" | |
# set -g @tmux_window_dir_programs "['nvim', 'git', 'pnpm', 'iex', 'mix']" | |
set -g @tmux_window_dir_programs "['nvim']" | |
set -g @tmux_window_name_substitute_sets "[('.*asdf.*bin/', ''), ('/Users/marwen', '~'), ('/home/onixus74', '~'),('Desktop/.*/_workspace', '_W'), ('Desktop/.*/_onixus74', 'O74'), ('Desktop/.*/_github.com', 'GH'), ('Desktop/_workspace/_copia', 'CP')]" | |
# set -g @tmux_window_name_ignored_programs "['nvim']" # Default is [] | |
set -g renumber-windows on # renumber windows when a window is closed | |
set -g set-titles on # set terminal title | |
set -g display-panes-time 800 # slightly longer pane indicators display time | |
set -g display-time 1000 # slightly longer status messages display time | |
set -g status-interval 10 # redraw status line every 10 seconds | |
set-option -sg escape-time 30 | |
# Split | |
# split current window horizontally | |
bind - split-window -v | |
# split current window vertically | |
bind _ split-window -h | |
# Clear Window | |
bind -n C-f send-keys -R \; send-keys C-l \; clear-history | |
# (Jump) Easy motion | |
#set -g @jump-key 's' | |
#Easy motion yank paste with prefix + ] | |
set -g @thumbs-key Y | |
# Pomorodo config | |
set -g status-right "#{pomodoro_status}" | |
set -g @pomodoro_toggle 'p' # Start/pause a Pomodoro/break | |
set -g @pomodoro_cancel 'P' # Cancel the current session | |
set -g @pomodoro_skip '_' # Skip a Pomodoro/break | |
set -g @pomodoro_mins 25 # The duration of the Pomodoro | |
set -g @pomodoro_break_mins 5 # The duration of the break after the Pomodoro completes | |
set -g @pomodoro_intervals 4 # The number of intervals before a longer break is started | |
set -g @pomodoro_long_break_mins 25 # The duration of the long break | |
set -g @pomodoro_repeat 'off' # Automatically repeat the Pomodoros? | |
set -g @pomodoro_on " 🍅" # The formatted output when the Pomodoro is running | |
set -g @pomodoro_complete " ✔︎" # The formatted output when the break is running | |
set -g @pomodoro_pause " ⏸︎" # The formatted output when the Pomodoro/break is paused | |
set -g @pomodoro_prompt_break " ⏲︎ break?" # The formatted output when waiting to start a break | |
set -g @pomodoro_prompt_pomodoro " ⏱︎ start?" # The formatted output when waiting to start a Pomodoro | |
set -g @pomodoro_menu_position "R" # The location of the menu relative to the screen | |
set -g @pomodoro_sound 'off' # Sound for desktop notifications (Run `ls /System/Library/Sounds` for a list of sounds to use on Mac) | |
set -g @pomodoro_notifications 'on' # Enable desktop notifications from your terminal | |
set -g @pomodoro_granularity 'off' # Enables MM:SS (ex: 00:10) format instead of the default (ex: 1m) | |
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
run -b '~/.tmux/plugins/tpm/tpm' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment