Bug - tab navigation, keyboard shortcuts conflict with text alignment
CompletedSteps:
- Open nvUltra
- Show tab bar
- Click + to open a new folder into a second tab
- Select the right hand tab
- Can use shift-cmd-[ - i.e. cmd-{ - to navigation from tab 2 to tab 1, as expected (provided no text is selected)
- But then if try and use cmd-} to go back to tab 2 again, it right aligns the text of the current file, because you have cmd-{ cmd-| and cmd-} as text alignment shortcuts.
cmd-{ and cmd-} is quite commonly used in other apps for navigating tabs, e.g. Finder, Safari, Firefox - but so are the two shortcuts you've already got: ctrl-tab for Show Next Tab and shift-ctr-tab for Show Previous Tab.
So it seems to me, you either need different shortcuts for alignment, or you prevent cmd-{ cmd-} from triggering a tab change in any circumstance, to avoid confusion when people find it works in some cases but not others?
nvUlta 1.0.0 (62), macOS 10.13.6 (language French)
-
Cmd-{/} don't change tabs for me under any circumstances (in nvUltra, Compose, or TextEdit for that matter). Is that a custom shortcut you have?
0 -
No, I checked. (edit: it works in Textedit for me - version 1.13 (333))
If I get time I can try it on a different machine.
0 -
What version of macOS are you using?
0 -
I do think there is some weirdness here in that Apple does treat ⇧⌘[ and ] as tab switching keys, even though as printed in the menus, the official shortcuts (on 10.14.6 anyway) are ⌃⇥ and ⇧⌃⇥. They probably do this because, yes, prior to making tabs an OS-wide thing, those programs with bespoke tabs, like browsers, would often use curly brackets for switching.
For me, I can reproduce this in TextEdit (v1.14), however importantly in order to see that effect, I must have TextEdit in plain text mode, where alignment is irrelevant! If I switch over to RTF mode, then the bracket-based shortcuts stop switching tabs, and start changing alignment.
So in short, I think that nvUltra does the same thing is fine. I don't think Apple intends the bracket-based shortcuts to be universal or to override the local software's use of these shortcuts, they are meant to be a background fallback, and that behaviour is probably meant to be deeper than third-party software messes with. And at the same time, I don't think that nvUltra should change alignment shortcuts from what is otherwise a Mac-wide standard. Anyone that uses word processors on a Mac (except maybe Word users, I don't know) is going to instinctively use {, } and | for alignment.
0 -
Fixed for me in later versions. Please update if you're still experiencing this.
0
Please sign in to leave a comment.
Comments
5 comments