There should be a keyboard shortcut to create a block before or after the current block, at the same indentation level as the current block, because the current methods to do this are too tedious and error-prone.
This is how these tasks in Logseq would change:
Create block above current block at same indentation level
Current method:
Select block
Edit block
Move cursor to beginning of block text
Press enter to create new block above
Proposed method:
Keyboard shortcut to create new block above (at same indentation level)
Create block below current block at same indentation level
Current method:
Select block
Close if it has children
Press enter to create new block below
Select initial block and open, if closed (to restore previous state)
Proposed method:
Keyboard shortcut to create block below (at same indentation level)
If this is too important for you, it is relatively easy to prepare some custom.js for achieving it. Just let me know, as well as the preferable keyboard combination.
This JavaScript is great for solving this for me, but is there any way this could make it in to the official release? I think a lot of people would find it useful if they found it in the keyboard shortcuts.
(I had actually meant to assign the keyboard shortcuts as you did, I just got them backwards.)
I would still prefer an UI option for it β¦ like the (+) already existing option which is only available for when the mouse hovers below the last block of a pageβ¦
For those like me who donβt know about javascript, you create a regular text file in the Logseq folder inside your vault, paste the code in, and change name and extension to custom.js. Accept the warning prompt when you relaunch Logseq and youβre done.