Skip to content

use Ctrl-n instead of Alt-n on macOS#1106

Merged
ellie merged 2 commits into
atuinsh:mainfrom
zygous:macos_ctrl_n
Jul 27, 2023
Merged

use Ctrl-n instead of Alt-n on macOS#1106
ellie merged 2 commits into
atuinsh:mainfrom
zygous:macos_ctrl_n

Conversation

@zygous

@zygous zygous commented Jul 16, 2023

Copy link
Copy Markdown
Contributor

To use alt-n modifiers on macOS the user must configure their terminal emulator to map option to alt. This isn't obvious -- hence issues have been raised here about those shortcuts not working -- but, moreover, doing so prevents option-3 being used to type # on British Macs.

This change adds a configuration option ctrl_n_shortcuts, set false by default, that replaces the numerical shortcuts alt-n with ctrl-n ones.

This PR only adds ctrl-n support, where n is a number: it does not affect the alt-b or alt-f shortcuts.

@vercel

vercel Bot commented Jul 16, 2023

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
atuin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 17, 2023 7:49pm

@ellie ellie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! LGTM.

Seeing as this is your first time contributing, if you would like a holographic contributors-only Atuin sticker, then please fill out this form!

We do also have a Discord if you'd like to ask any questions, or just fancy hanging out!

@ellie ellie enabled auto-merge (squash) July 27, 2023 07:58
@ellie ellie merged commit c044995 into atuinsh:main Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants