Joplin version: 1.0.174 (prod, darwin)
Platform: macOS
OS specifcs: macOS Catalina, 10.15.1
I could use Ctrl + N to go to next line, but Ctrl + P doesn't work.
I use Emacs keybindings a lot, without Ctrl + P working, it impacts my workflow.
N/A
@ShaneKilkelly, do you have any idea what might be the issue? I think we disable some shortcuts like ctrl+p in the editor, so that it can be processed by the app. Perhaps we should disable this part of the code when a keyboard mode is active?
I might remove this feature as it's incomplete and we have noone to maintain it
Hi! Sorry it's taken a while to get around to this.
Anyway, on the original question: nothing springs to mind immediately, and I can't test because I don't have access to a mac. I wonder if it's a collision between the pervasive emacs-style shortcuts on the MacOS platform, vs the specific key-handling code of electron/joplin/ace ?
I note that @junjizhi says that they "use emacs keybindings a lot", which could refer to either of two things:
We'd need to clarify where exactly the problem lies. Just now (on Ubuntu), I've tried CTRL-P and it pops open the print menu, so I suspect "go to previous line" is just not something Joplin does on the CTRL-P binding anyway, regardless of keyboard mode.
Actually, scratch that, I just tried the same with the Emacs mode in joplin, and it does "go to previous line" perfectly.
So, perhaps our advice to the user should be to explicitely turn on Emacs keybindings in the Joplin options?
Thanks for clarifying @ShaneKilkelly. We'll indeed need more details from you @junjizhi then, in case it's something to your setup.
I do take the wider point about the maintenance burden of supporting these new keyboard modes. I'll try to make time to look at these kind of issues :+1:
Thanks @ShaneKilkelly, much appreciated.
They use the MacOS emacs-style keybindings (which are supposed to work everywhere in the system)
@ShaneKilkelly ^This is what I meant.
So, perhaps our advice to the user should be to explicitely turn on Emacs keybindings in the Joplin options?
Can you advise where the option is? There wasn't anything like that in the settings in the Joplin version (1.0.174) I used. For my environment details, please see the ticket.
The option should be under the "General" section of the Options screen. See screenshot:

You can get there by selecting Tools -> Options in the menu.
@ShaneKilkelly Hah, switching to Emacs mode actually fixes the problem. Thanks!