How to remap shortcut Move cursor to end of block

Hello,
I’m trying to remap the keyboard shortcut “Move cursor to end of block” to the “End” key. The shortcut appears in the keyboard shortcut list (g s), but won’t allow me to modify it from “Ctrl E”. I’m looking to edit the config.edn file with:

{:shortcuts {:ui/move-cursor-to-end-of-block "End"}}

But I don’t think that’s right. Any ideas?

In my environment, I was able to change that key to “End”. It may be difficult to understand how to change the keys in Logseq keymap, first.

  1. Press the key.
  2. Press the check mark to register
  3. Then press “Save”

    Sorry if I’m misunderstanding.:sweat:

Does it work though?

Press End and it works as expected.

To me it only moves to the end of the line, not the end of the block.

Since the command is executed, it appears that remap is working. Admittedly, it’s not a good description of how it works. I use Logseq and occasionally run into problems with wording like that.

Thank you for the suggestion. I’m using it on MacOS and for some reason the option to remap it is greyed out (and that’s why I wanted to try the config route):

Try this.

:shortcuts{
           :editor/end-of-block "end"
}

That worked! Thank you