Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6584a42
commit 4b97fdf
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Credit: http://tofu.org/drupal/node/182 | ||
|
||
#--References------------------------------------------------------------------- | ||
# <a href="http://blog.hawkhost.com/2010/07/02/tmux-%E2%80%93-the-terminal-multiplexer-part-2/" title="http://blog.hawkhost.com/2010/07/02/tmux-%E2%80%93-the-terminal-multiplexer-part-2/">http://blog.hawkhost.com/2010/07/02/tmux-%E2%80%93-the-terminal-multiple...</a> | ||
# <a href="https://wiki.archlinux.org/index.php/Tmux" title="https://wiki.archlinux.org/index.php/Tmux">https://wiki.archlinux.org/index.php/Tmux</a> | ||
|
||
#--Key-Bindings----------------------------------------------------------------- | ||
bind | split-window -h | ||
bind _ split-window -v | ||
bind h select-pane -L | ||
bind j select-pane -D | ||
bind k select-pane -U | ||
# l is for last window by default. i'm used to that, but somewhat conflicted | ||
#bind l select-pane -R | ||
|
||
#--Status-Bar------------------------------------------------------------------- | ||
# Default colors | ||
set -g status-bg black | ||
set -g status-fg white | ||
|
||
# Status bar, left side | ||
set -g status-left-length 20 | ||
set -g status-left '#[fg=green][#[bg=black,fg=cyan]#S#[bg=black,fg=blue,dim]:#H#[fg=green]]' | ||
|
||
# Status bar right side | ||
#set -g status-right '#[fg=yellow]#(date)' | ||
set -g status-right '#[fg=green][#[fg=white]#T#[fg=green]][#[fg=blue]%Y-%m-%d #[fg=white]%H:%M#[default]#[fg=green]]' | ||
|
||
# Inactive windows in status bar | ||
set-window-option -g window-status-format '#[fg=cyan,dim]#I#[fg=blue]:#[default]#W#[fg=grey,dim]#F' | ||
|
||
# Current or active window in status bar | ||
#set-window-option -g window-status-current-bg yellow | ||
#set-window-option -g window-status-current-fg black | ||
set-window-option -g window-status-current-format '#[bg=blue,fg=cyan,bold]#I#[bg=blue,fg=cyan]:#[fg=white]#W#[fg=dim]#F' | ||
|
||
# Alerted window in status bar. Windows which have an alert (bell, activity or content). | ||
set-window-option -g window-status-alert-fg red | ||
set-window-option -g window-status-alert-bg white | ||
|
||
|
||
#--Usability-------------------------------------------------------------------- | ||
#set-option -g status-keys vi | ||
#set-window-option -g mode-keys vi | ||
# keep tmux msgs around longer | ||
set -g display-time 3000 | ||
# set -g set-titles off | ||
# Set window notifications | ||
#set-window-option -g monitor-activity on | ||
#set -g visual-activity on | ||
#setw -g automatic-rename off |