Last active
January 14, 2016 01:00
-
-
Save jaywhy13/b3b3fb1add6a98c89b3a to your computer and use it in GitHub Desktop.
Customize Byobu keybindings in Vagrant
This file contains hidden or 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
#!/bin/bash | |
# We need to invoke Byobu just so that it'll create the ~/.byobu directory | |
byobu-tmux new-session -d | |
byobu kill-server | |
echo "bind-key -n F1 new-window | |
bind-key -n F2 previous-window | |
bind-key -n F3 next-window" > ~/.byobu/keybindings.tmux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I much prefer to have F1 represent "New Window", then have F2 and F3 do previous and next window. This configuration is possible by populating ~/.byobu/keybindings.tmux