~ubuntu-branches/debian/wheezy/byobu/wheezy

« back to all changes in this revision

Viewing changes to usr/share/byobu/profiles/tmux

  • Committer: Package Import Robot
  • Author(s): Alexander Chernyakhovsky
  • Date: 2012-01-11 19:37:34 UTC
  • mfrom: (0.5.3) (0.1.162 precise)
  • Revision ID: package-import@ubuntu.com-20120111193734-89083z97py39gj05
Tags: 5.2-1
* Syncing from Ubuntu. Remaining changes:
  - Switch to dh short syntax
  - Added a substvar ${perl:Depends} dependency into debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
21
###############################################################################
22
22
 
 
23
# Initialize environment, clean up
23
24
set-environment -g BYOBU_BACKEND tmux
24
25
new-window -d byobu-janitor
 
26
set -s escape-time 0
25
27
 
26
28
# Change to Screen's ctrl-a escape sequence
27
 
set-option -g prefix C-a
28
 
unbind-key C-b
29
 
bind-key C-a send-prefix
30
 
bind-key a send-prefix
31
 
set -s escape-time 0
32
 
 
33
 
bind-key -n F1 new-window -k -t config byobu-config
34
 
bind-key -n F2 new-window
35
 
bind-key -n F3 previous-window
36
 
bind-key -n S-left previous-window
37
 
bind-key -n F4 next-window
38
 
bind-key -n S-right next-window
39
 
bind-key -n F5 source /usr/share/byobu/profiles/tmuxrc
40
 
bind-key -n F6 detach
41
 
bind-key -n F7 copy-mode
42
 
bind-key -n M-NPage copy-mode \; send-keys NPage
43
 
bind-key -n M-PPage copy-mode -u
44
 
bind-key -n F8 command-prompt -p "(rename-window)" "rename-window %%"
45
 
bind-key -n F9 new-window -a byobu-config
46
 
bind-key -n C-F2 split-window -h
47
 
bind-key -n C-F3 select-pane -L
48
 
bind-key -n C-F4 select-pane -R
49
 
bind-key -n S-F2 split-window -v
50
 
bind-key -n S-F3 select-pane -D
51
 
bind-key -n S-F4 select-pane -U
52
 
bind-key -n S-F5 kill-pane -a
53
 
bind-key -n C-F6 kill-pane
 
29
source /usr/share/doc/tmux/examples/screen-keys.conf
 
30
# On Archlinux, this file is not under the same directory
 
31
source /usr/share/tmux/screen-keys.conf
 
32
 
 
33
# Add F12 to the prefix list
 
34
set -g prefix ^A,F12
 
35
 
 
36
# Byobu's Keybindings
 
37
source $BYOBU_PREFIX/share/byobu/keybindings/f-keys.tmux
54
38
 
55
39
set-option -g set-titles on
56
40
set-option -g set-titles-string '#(whoami)@#H - byobu (#S)'
57
 
set-option -g pane-active-border-fg magenta
58
 
set-option -g pane-border-fg magenta
 
41
set-option -g pane-active-border-bg $BYOBU_ACCENT
 
42
set-option -g pane-active-border-fg $BYOBU_ACCENT
 
43
set-option -g pane-border-fg $BYOBU_LIGHT
 
44
set-option -g history-limit 10000
 
45
set-option -g display-panes-time 150
 
46
set-option -g display-panes-colour $BYOBU_ACCENT
 
47
set-option -g display-panes-active-colour $BYOBU_HIGHLIGHT
 
48
set-option -g clock-mode-colour $BYOBU_ACCENT
 
49
set-option -g clock-mode-style 24
 
50
set-option -g mode-keys vi
 
51
set-option -g mode-bg $BYOBU_ACCENT
 
52
set-option -g mode-fg $BYOBU_LIGHT
59
53
 
60
54
set-window-option -g window-status-attr default
61
 
set-window-option -g window-status-bg black
62
 
set-window-option -g window-status-fg white
63
 
set-window-option -g window-status-current-attr default
64
 
set-window-option -g window-status-current-bg white
65
 
set-window-option -g window-status-current-fg black
66
 
set-window-option -g window-status-alert-bg black
67
 
set-window-option -g window-status-alert-fg white
 
55
set-window-option -g window-status-bg $BYOBU_DARK
 
56
set-window-option -g window-status-fg $BYOBU_LIGHT
 
57
set-window-option -g window-status-current-attr reverse
 
58
set-window-option -g window-status-current-bg $BYOBU_DARK
 
59
set-window-option -g window-status-current-fg $BYOBU_LIGHT
 
60
set-window-option -g window-status-alert-bg $BYOBU_DARK
 
61
set-window-option -g window-status-alert-fg $BYOBU_LIGHT
68
62
set-window-option -g window-status-alert-attr bold
69
63
set-window-option -g automatic-rename on
70
64
set-window-option -g aggressive-resize on
73
67
 
74
68
# Must set default-command to $SHELL, in order to not source ~/.profile
75
69
# BUG: Should *not* hardcode /bin/bash here
76
 
set -g default-terminal "screen-256color"
 
70
set -g default-terminal "screen-bce"
77
71
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
78
 
set -g default-command /bin/bash
79
 
set -g status-bg black
80
 
set -g status-fg white
 
72
set -g default-command $SHELL
 
73
set -g status-bg $BYOBU_DARK
 
74
set -g status-fg $BYOBU_LIGHT
81
75
set -g status-interval 1
82
76
set -g status-left-length 256
83
77
set -g status-right-length 256
84
78
set -g status-left '#(byobu-status tmux_left)['
85
79
set -g status-right ']#(byobu-status tmux_right)'
86
 
set -g message-bg magenta
 
80
set -g message-bg $BYOBU_ACCENT
87
81
set -g message-fg white
 
82
 
 
83
# Allow local overrides
 
84
source $BYOBU_CONFIG_DIR/.tmux.conf