Incorrect shortcut in shortcuts view for navigating to start and end of line

Describe the bug
The shortcut for navigating to the start (CTRL + <-) and end of the line (CTRL + ->) is not working. They instead navigate to the start and end of line

To Reproduce
Steps to reproduce the behavior:

  1. Go to any page
  2. In a text block, type some words
  3. Use the shortcuts for navigating to the start / end of line

Expected behavior
The shortcut presented in the shortcuts popup to work

System Information:

  • OS: Fedora Silverblue
  • Device Manufacturer/Model: HP Elitebook
  • Anytype Version: 0.20.9

Additional context

Ctrl + <- and Ctrl + -> are usually the shortcuts for navigation by word. But anytype is listing it as a shortcut for navigation to the starting / ending of line but when the shortcut is pressed, the cursor still moves by words and not to the start / end of the line. Since this is a common shortcut, people would expect this to behave this way for navigation by words. It would be great if the shortcut to go to the starting / ending of a line is changed to a different one such as Ctrl+Alt+arrow combo or something else since the current one is not working.

There is a chance that the current shortcut might work on macOS since it treats the Ctrl key differently and uses the command+arrow shortcut for navigation by word if I remember correctly. It would be great if someone with macOS to confirm if the current shortcuts are working for them or not

1 Like

@lynxlove Thank you for your notice! We haven’t implemented this yet, but plan to do that in the future

The shortcuts are already listed in the shortcuts page though :thinking:

@lynxlove I’m about your additional context)

1 Like

Hi there! Thanks @lynxlove for your question, I was wondering the same (I am on MacOS).
I have another question to @Kirill_Lem : how do you go to line without creating a new block? I did not find the way and I have now plenty of blocks that should be paragraphs… :upside_down_face: Many thanks for the help :slightly_smiling_face:

<Shift+Enter> is used to insert a line break without a new block on linux/windows. Not sure on what the shortcut is on macOS. Should be something similar

1 Like

@lynxlove : Thanks!!! It works! It’s just great! Thanks a lot :blush:

2 Likes

The “issue” is still present today (4 updates later). For me, it is the intended behavior, just listed wrong, as most word processors work the same.
I just wanted to point out, that the keys “Home” and “End” are usually (also on Anytype) used to move to the start and end of line, even though they are not listed in the “shortcuts cheat sheet” as I like to call it.
Hope this helps :smiley:

1 Like

Edit: Updating the title to reflect the actual issue

Home / End - Navigate to start and End of line
Ctrl + Left / Right - Navigate to start and end of word

I can use the shortcuts in the way you describe them here, now.

This topic was automatically closed after 7 days. New replies are no longer allowed.