Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Tmux key mapping problems with Home and End keys #23

Open
jeffguy77 opened this issue Nov 21, 2023 · 1 comment
Open

Tmux key mapping problems with Home and End keys #23

jeffguy77 opened this issue Nov 21, 2023 · 1 comment

Comments

@jeffguy77
Copy link

These keys, which are very commonly used in both Linux and Windows, do not work from inside Tmux (which is commonly used for SSH server sessions and comes with most every distro):

  • SHIFT+Home = 1;2H
  • CTRL+Home = 1;5H
  • SHIFT+CTRL+Home = 1;6H
  • SHIFT+End = 1;2F
  • CTRL+End = 1;5F
  • SHIFT+CTRL+End = 1;6F

As you can see, I also added the control escape codes to help out. If you press these keys, it will just print these control escape codes as text. Just to be clear, I am using Tmux with multiple terminals to test including Alacritty, Konsole, XFCE Terminal, Tilix, and KiTTY. To reproduce, type tmux and then micro in your favorite terminal and then press one of these keys.

If you can include these in the key codes in the application or even provide a way that I can map them, please let me know.

Thank you for such an awesome editor! Micro is amazing!

@taconi
Copy link

taconi commented Mar 23, 2024

Try looking at the issues on zyedidia/micro, there you will have an answer, maybe there is already this issue there, like this zyedidia/micro#3151

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants