Skip to content

Instantly share code, notes, and snippets.

@khanh101
Last active August 25, 2023 03:45
Show Gist options
  • Save khanh101/0ce2ede715e627b78da7ffc81a7d980d to your computer and use it in GitHub Desktop.
Save khanh101/0ce2ede715e627b78da7ffc81a7d980d to your computer and use it in GitHub Desktop.
MacOS terminal TMUX

In MacOS default terminal, one cannot use ctrl + arrow to resize panes due to several reasons

  • MacOS 13 uses ctrl + arrow for mission control. One has to remove those keyboard shortcuts.

  • In the default terminal Settings / Profiles / Keyboard, ctrl + arrow up and ctrl + arrow down do not get assigned to any action. The appropriate actions are

    • ctrl + arrow up: \033[1;5A
    • ctrl + arrow down: \033[1;5B
    • ctrl + arrow right: \033[1;5C
    • ctrl + arrow left: \033[1;5D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment