silverbullet
silverbullet copied to clipboard
Add Keyboard Shortcut for "Delete Line"
Since the new update it is possible to add custom Keyboard Shortcuts.
One Shortcut I am missing is "Delete Line"
This has to be wrapped in a command: https://codemirror.net/docs/ref/#commands.deleteLine see see web/syscalls/editor.ts
for examples.
About to commit the solution tomorrow.
Any suggestion for default shortcut?
My personal preference is Ctrl+d But no idea if that would be a good default
Seems to be heavily tool-dependent, but I guess the future is choosable keymap for IntelliJ/Eclipse/VSCode/whatever editor users.