pages:cheatsheets:tmux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pages:cheatsheets:tmux [2022/02/27 11:47] – [tmux.conf] mischerh | pages:cheatsheets:tmux [2023/05/03 13:59] (current) – [Links] mischerh | ||
---|---|---|---|
Line 12: | Line 12: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | * https:// | ||
===== Links ===== | ===== Links ===== | ||
Line 17: | Line 18: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
===== Beschreibung ===== | ===== Beschreibung ===== | ||
Line 70: | Line 72: | ||
| < | | < | ||
- | ===== tmux.conf ===== | + | ===== Installation und tmux.conf ===== |
+ | This config file is 99% the work of my (soon) former colleague S. Wurm. | ||
<sxh bash; gutter: false> | <sxh bash; gutter: false> | ||
apt install tmux tmux-plugin-manager | apt install tmux tmux-plugin-manager | ||
Line 78: | Line 81: | ||
bind r source-file ~/ | bind r source-file ~/ | ||
- | # Enable mouse mode (tmux 2.1 and above) | + | set -g assume-paste-time 1 |
- | set -g mouse on | + | set -g base-index 0 |
+ | #set -g bell-on-alert off | ||
+ | set -g default-command "" | ||
+ | set -g default-shell "/ | ||
+ | set -g default-terminal " | ||
+ | set -g destroy-unattached off | ||
+ | set -g detach-on-destroy on | ||
+ | set -g display-panes-active-colour red | ||
+ | set -g display-panes-colour blue | ||
+ | set -g display-panes-time 1000 | ||
+ | set -g display-time 750 | ||
+ | set -g history-limit 2000 | ||
+ | set -g key-table " | ||
+ | set -g lock-after-time 0 | ||
+ | set -g lock-command "lock -np" | ||
+ | set -g message-command-style fg=yellow, | ||
+ | set -g message-style fg=black, | ||
+ | set -g mode-keys vi | ||
+ | set -g mouse off | ||
+ | set -g prefix C-b | ||
+ | set -g prefix2 None | ||
+ | set -g renumber-windows off | ||
+ | set -g repeat-time 500 | ||
+ | #set -g set-remain-on-exit off | ||
+ | set -g set-titles on | ||
+ | set -g set-titles-string "# | ||
+ | |||
+ | # Status Style (default) | ||
+ | #set -g status | ||
+ | #set -g status-interval 15 | ||
+ | #set -g status-justify left | ||
+ | #set -g status-keys vi | ||
+ | #set -g status-left "[#S] " | ||
+ | #set -g status-left-length 20 | ||
+ | #set -g status-left-style default | ||
+ | #set -g status-position bottom | ||
+ | #set -g status-right " "# | ||
+ | #set -g status-right-length 40 | ||
+ | #set -g status-right-style default | ||
+ | #set -g status-style fg=black, | ||
+ | |||
+ | # Status Style (wurmobil) | ||
+ | set -g pane-active-border-style fg=green, | ||
+ | set -g pane-border-style fg=white, | ||
+ | set -g message-style fg=black, | ||
+ | set -g window-status-style bg=black | ||
+ | set -g window-status-current-style fg=green | ||
+ | set -g window-status-activity-style fg=yellow | ||
+ | set -g status-justify left | ||
+ | set -g status-style bg=black, | ||
+ | set -g status-left '# | ||
+ | set -g status-left-length 40 | ||
+ | # this one draws the window title in the status bar, but eats up a lot of space | ||
+ | set -g status-right ' # | ||
+ | |||
+ | set -g update-environment " | ||
# don't rename windows automatically | # don't rename windows automatically | ||
- | set-option -g allow-rename off | + | #set-option -g allow-rename off |
+ | |||
+ | # Activity Monitor | ||
+ | set -g monitor-activity on | ||
+ | set -g activity-action none | ||
+ | set -g visual-activity off | ||
+ | set -g visual-bell off | ||
+ | set -g visual-silence off | ||
+ | set -g word-separators " -_@" | ||
+ | set -g bell-action none | ||
+ | |||
+ | # Tmux Plugin Manager configuration | ||
# List of plugins | # List of plugins | ||
set -g @plugin ' | set -g @plugin ' | ||
set -g @plugin ' | set -g @plugin ' | ||
+ | set -g @plugin ' | ||
# Other examples: | # Other examples: | ||
# set -g @plugin ' | # set -g @plugin ' | ||
- | # set -g @plugin ' | + | # set -g @plugin ' |
- | # set -g @plugin ' | + | # set -g @plugin ' |
- | # set -g @plugin ' | + | |
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | ||
- | run -b '/ | + | run '~/ |
+ | |||
+ | source | ||
</ | </ | ||
pages/cheatsheets/tmux.1645962459.txt.gz · Last modified: 2022/02/27 11:47 by mischerh