![rw-book-cover](https://www.joshmedeski.com/images/posts/macos-keyboard-shortcuts-for-tmux/macos-keyboard-shortcuts-for-tmux-thumbnail.jpg) --- > In order to simulate a keystroke, Alacritty uses hex codes, which is simply a combination of characters. > For our example, we need to get the hex code values for `<ctrl+b> c`. We will use `xxd` to record our keystrokes and dump the hex codes we need. > First run the following command (outside of tmux): > xxd -psd > Then type `ctrl+b`, `c`, then press the return key (aka `enter`). You will see the following data output in your terminal: > ^Bc > 02630a > Press `ctrl+c` to escape the xxd listener. You now have the hex code `02630a`, which stands for `ctrl+b c return`. - [View Highlight](https://read.readwise.io/read/01h0n6pza82t9dr637bv54fpmv) ---