Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

macOS keyboard shortcut documentation note #124

Closed
johnblommers opened this issue Nov 4, 2019 · 7 comments
Closed

macOS keyboard shortcut documentation note #124

johnblommers opened this issue Nov 4, 2019 · 7 comments
Assignees
Labels
documentation Request: Changes to documentation

Comments

@johnblommers
Copy link

With one exception noted below, of the documented keyboard shortcuts that use the Ctrl key, Macintosh users should replace Ctrl with Command.

Exception: Commandh does not open the search and display bar because it is intercepted by the system to hide the foremost app, so pressing these two keys hides novelWriter.

@vkbo
Copy link
Owner

vkbo commented Nov 4, 2019

Not a mac user, so don't know. Are you saying that macOS replaces they key shortcut? So, it's only a matter of making the note in the manual?

@vkbo vkbo self-assigned this Nov 4, 2019
@vkbo vkbo added the documentation Request: Changes to documentation label Nov 4, 2019
@johnblommers
Copy link
Author

johnblommers commented Nov 4, 2019

Yes just make a note in the manual. macOS users will get it.

macOS has always used the Command key instead of the Ctrl key for common keyboard shortcuts. So c is copy, v is paste and x is cut.

h hides the current app.

On macOS, when you view a menu, its shortcut is typically displayed next to it. For novelWriter all of the keyboard shortcuts display with a symbol instead of a Ctrl symbol.

@vkbo
Copy link
Owner

vkbo commented Nov 4, 2019

Yeah, that makes sense as I use the Qt intrinsic settings for keyboard shortcuts, so it probably does the translation for the app. What is the common keyboard shortcut for replace on a mac then?

I do have a logical flag for Windows, Linux and Darwin, so I can easily wrap the assignment of a keyboard shortcut in an if statement for this one.

@johnblommers
Copy link
Author

The short answer is that the replace key on macOS should be =

TL;DR

What is the common keyboard shortcut for replace on macOS? This question actually required me to take a look because it's not a common paradigm in my bubble.

TextEdit is probably typical. Here are the edit keyboard shortcuts it offers:
F Find ...
F Find and Replace...
G Find Next
G Find Previous

novelWriter's edit menu keyboard shortcuts on macOS are:
F Find
none for Replace
F3 Find Next
F3 Find Previous
1 Replace Next

Of course macOS has special names for some of these keys:
Command
Shift
Option, the same physical key as Alt

Saving the best for last, the famous BBEdit programmer's editor is probably our best example. Rather than develop blindness and carpel tunnel syndrome let me post a screenshot of the BBEdit edit menu:

BBEdit

@vkbo
Copy link
Owner

vkbo commented Nov 5, 2019

Thanks for the feedback. I'll add the shortcut for find next and find previous under an if darwin statement. As for the replace and find next, I don't think there's a standard anywhere. I used the key combination from VSCode.

Checking with my office mate, the command = shortcut in all applications we tested changed font size, so not sure that is the correct one.

@vkbo
Copy link
Owner

vkbo commented Aug 18, 2020

@johnblommers, I think this issue can be closed now?

@vkbo
Copy link
Owner

vkbo commented Sep 9, 2020

Since a few changes have been made here, and I'm not aware of any further issues, I'm closing this.

@vkbo vkbo closed this as completed Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Request: Changes to documentation
Projects
None yet
Development

No branches or pull requests

2 participants