mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -07:00
* usr/share/byobu/profiles/tmux:
- getting tmux keybindings much closer!
This commit is contained in:
parent
c9a406614c
commit
7b74b9af90
2 changed files with 22 additions and 1 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,6 +1,7 @@
|
||||||
byobu (4.14) unreleased; urgency=low
|
byobu (4.14) unreleased; urgency=low
|
||||||
|
|
||||||
* UNRELEASED
|
* usr/share/byobu/profiles/tmux:
|
||||||
|
- getting tmux keybindings much closer!
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 16 Jun 2011 16:16:29 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 16 Jun 2011 16:16:29 -0500
|
||||||
|
|
||||||
|
|
|
@ -20,20 +20,40 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
# Change to screen's ctrl-a escape sequence
|
||||||
set-option -g prefix C-a
|
set-option -g prefix C-a
|
||||||
|
unbind-key C-b
|
||||||
|
bind-key C-a send-prefix
|
||||||
|
bind-key a send-prefix
|
||||||
|
set -s escape-time 0
|
||||||
|
|
||||||
|
bind-key -n F1 new-window -k -t config byobu-config
|
||||||
bind-key -n F2 new-window
|
bind-key -n F2 new-window
|
||||||
bind-key -n F3 previous-window
|
bind-key -n F3 previous-window
|
||||||
|
bind-key -n S-left previous-window
|
||||||
bind-key -n F4 next-window
|
bind-key -n F4 next-window
|
||||||
|
bind-key -n S-right next-window
|
||||||
bind-key -n F5 source ~/.tmux.conf
|
bind-key -n F5 source ~/.tmux.conf
|
||||||
bind-key -n F6 detach
|
bind-key -n F6 detach
|
||||||
bind-key -n F7 copy-mode
|
bind-key -n F7 copy-mode
|
||||||
|
bind-key -n M-NPage copy-mode \; send-keys NPage
|
||||||
|
bind-key -n M-PPage copy-mode -u
|
||||||
|
bind-key -n F8 command-prompt -p "(rename-window)" "rename-window %%"
|
||||||
|
bind-key -n F9 new-window -a byobu-config
|
||||||
bind-key -n S-F2 split-window -v
|
bind-key -n S-F2 split-window -v
|
||||||
bind-key -n C-F2 split-window -h
|
bind-key -n C-F2 split-window -h
|
||||||
|
|
||||||
|
set-option -g set-titles on
|
||||||
|
set-option -g set-titles-string '#(whoami)@#H - #S'
|
||||||
|
|
||||||
set-window-option -g window-status-current-bg red
|
set-window-option -g window-status-current-bg red
|
||||||
set-window-option -g automatic-rename on
|
set-window-option -g automatic-rename on
|
||||||
|
set-window-option -g aggressive-resize on
|
||||||
|
|
||||||
|
# Must set default-command to $SHELL, in order to not source ~/.profile
|
||||||
|
# BUG: Should *not* hardcode /bin/bash here
|
||||||
|
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
|
||||||
|
set -g default-command /bin/bash
|
||||||
set -g status-bg black
|
set -g status-bg black
|
||||||
set -g status-fg white
|
set -g status-fg white
|
||||||
set -g status-interval 1
|
set -g status-interval 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue