-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
1 changed file
with
80 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,80 @@ | ||
set-option -g status-keys vi | ||
setw -g mode-keys vi | ||
|
||
setw -g monitor-activity on | ||
|
||
# setw -g c0-change-trigger 10 | ||
# setw -g c0-change-interval 100 | ||
|
||
# setw -g c0-change-interval 50 | ||
# setw -g c0-change-trigger 75 | ||
|
||
|
||
set-window-option -g automatic-rename on | ||
set-option -g set-titles on | ||
set -g history-limit 100000 | ||
|
||
#set-window-option -g utf8 on | ||
|
||
# set command prefix | ||
set-option -g prefix C-a | ||
unbind-key C-b | ||
bind-key C-a send-prefix | ||
|
||
bind h select-pane -L | ||
bind j select-pane -D | ||
bind k select-pane -U | ||
bind l select-pane -R | ||
|
||
bind -n M-Left select-pane -L | ||
bind -n M-Right select-pane -R | ||
bind -n M-Up select-pane -U | ||
bind -n M-Down select-pane -D | ||
|
||
bind < resize-pane -L 7 | ||
bind > resize-pane -R 7 | ||
bind - resize-pane -D 7 | ||
bind + resize-pane -U 7 | ||
|
||
|
||
bind-key -n M-l next-window | ||
bind-key -n M-h previous-window | ||
|
||
|
||
|
||
set -g status-interval 1 | ||
# status bar | ||
set -g status-bg black | ||
set -g status-fg blue | ||
|
||
|
||
#set -g status-utf8 on | ||
set -g status-justify centre | ||
set -g status-bg default | ||
set -g status-left " #[fg=green]#S@#H #[default]" | ||
set -g status-left-length 20 | ||
|
||
|
||
# mouse support | ||
# for tmux 2.1 | ||
# set -g mouse-utf8 on | ||
set -g mouse on | ||
# | ||
# for previous version | ||
#set -g mode-mouse on | ||
#set -g mouse-resize-pane on | ||
#set -g mouse-select-pane on | ||
#set -g mouse-select-window on | ||
|
||
|
||
#set -g status-right-length 25 | ||
set -g status-right "#[fg=green]%H:%M:%S #[fg=magenta]%a %m-%d #[default]" | ||
|
||
# fix for tmux 1.9 | ||
bind '"' split-window -vc "#{pane_current_path}" | ||
bind '%' split-window -hc "#{pane_current_path}" | ||
bind 'c' new-window -c "#{pane_current_path}" | ||
|
||
# run-shell "powerline-daemon -q" | ||
|
||
# vim: ft=conf |