Skip to content

Instantly share code, notes, and snippets.

@jaywhy13
Last active January 14, 2016 01:00
Show Gist options
  • Save jaywhy13/b3b3fb1add6a98c89b3a to your computer and use it in GitHub Desktop.
Save jaywhy13/b3b3fb1add6a98c89b3a to your computer and use it in GitHub Desktop.
Customize Byobu keybindings in Vagrant
#!/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
@jaywhy13
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment