Last active
June 25, 2025 10:08
-
-
Save anugrahsputra/84dfa340a6b748e07d19da612c57b615 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 ",screen-256color*:Tc" | |
| set-option -g default-terminal "screen-256color" | |
| set -s escape-time 0 | |
| # Prefix and other bindings remain unchanged | |
| unbind C-b | |
| set-option -g prefix C-a | |
| bind-key C-a send-prefix | |
| # Nord color scheme for status bar | |
| set -g status-style 'bg=#2E3440 fg=#D8DEE9' # nord0 (bg), nord4 (fg) | |
| set-option -g status-left-length 200 | |
| set-option -g status-left-style default | |
| set-option -g status-left "#[fg=#88C0D0,bg=#2E3440,bold][#S] #[default]" # nord8 for session name | |
| set-option -g status-right-length 200 | |
| set-option -g status-right-style default | |
| set-option -g status-right "#[fg=#81A1C1,bg=#2E3440] %H:%M %d-%b-%y " # nord9 for time/date | |
| # Style for window status | |
| set-window-option -g window-status-style 'fg=#4C566A,bg=#2E3440' # nord3 for inactive windows | |
| set-window-option -g window-status-current-style 'fg=#A3BE8C,bg=#3B4252,bold' # nord14 (green) for active window, nord1 (bg) | |
| # Pane borders | |
| set-option -g pane-border-style 'fg=#4C566A' # nord3 | |
| set-option -g pane-active-border-style 'fg=#81A1C1' # nord9 | |
| # Rest of your configuration remains unchanged | |
| bind r source-file ~/.tmux.conf | |
| set -g base-index 1 | |
| set-window-option -g mode-keys vi | |
| bind -T copy-mode-vi v send-keys -X begin-selection | |
| bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard' | |
| # Vim-like pane switching | |
| bind -r ^ last-window | |
| bind -r k select-pane -U | |
| bind -r j select-pane -D | |
| bind -r h select-pane -L | |
| bind -r l select-pane -R | |
| bind -r D neww -c "#{pane_current_path}" "[[ -e NOTES.md ]] && nvim TODO.md || nvim ~/QuickNotes/work/notes.md" | |
| bind-key -r f run-shell "tmux neww ~/.local/bin/tmux-sessionizer" | |
| bind-key -r W run-shell "~/.local/bin/tmux-sessionizer ~/Code/work" | |
| bind-key -r G run-shell "~/.local/bin/tmux-sessionizer ~/Code/CariinId" | |
| bind-key -r N run-shell "~/.local/bin/tmux-sessionizer ~/QuickNotes" | |
| bind-key -r P run-shell "~/.local/bin/tmux-sessionizer ~/Code/personal" | |
| bind-key -r T run-shell "~/.local/bin/tmux-sessionizer ~/.config/nvim" | |
| bind-key -r S run-shell "tmux new-session -s ssh-rnd3 'ssh user@100.111.201.67" | |
| bind-key -r a new-window -c "#{pane_current_path}" "source ~/development/backend-thing/python-proj/venv/bin/activate && exec $SHELL" | |
| # Plugins | |
| set -g @plugin 'tmux-plugins/tpm' | |
| set -g @plugin 'tmux-plugins/tmux-sensible' | |
| set -g @plugin 'sainnhe/tmux-fzf' | |
| # set -g @plugin 'rose-pine/tmux' # Commented out as we're using Nord colors manually | |
| run '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment