title: .screenrc bindkey for Cmd-Right on MAC
body: <p>I'm trying to bind <kbd>Cmd</kbd>-<kbd>Right</kbd> and <kbd>Cmd</kbd>-<kbd>Left</kbd> to next and previous in my screenrc.</p>
  
  <p>I've seen entries like the following but I do not know how to find the keycode for <kbd>Cmd</kbd>-<kbd>Right</kbd> or <kbd>Cmd</kbd>-<kbd>Left</kbd>. Is there a utility I can use somewhere?</p>
  
  <pre><code>bindkey "^[[1;5C"    next  # Ctrl-Right
  bindkey "^[[1;5D"    prev  # Ctrl-Left
  
  bindkey "^[[27;5;9~" next  # Ctrl-Tab
  bindkey "^[[27;6;9~" prev  # Ctrl-Shift-Tab
  </code></pre>