Execute system commands via hotkeys or command palette in Obsidian (https://obsidian.md). Some automated events are also supported, and execution via URI links.
[x] Confirmation modal (when a shell command asks a confirmation before execution)
Other:
[x] Create a hidden setting enable_enter_key_to_approve_modals (on by default) that can be used to disable this feature in case a user wants to prevent accidental enter key presses.
[x] Add to CHANGELOG.md.
[x] Add the enable_enter_key_to_approve_modals setting to documentation.
[x] Add mentions of the enter key press to History sections of modals that have a documentation page, at least Prompts and Ask after execution (that also has now the enter keypress possibility, although it's probably not used much, as most of the time the focus in that modal is in a textarea, which prevents closing the modal by ptessing the enter key).
Idea by @imeed166 in https://github.com/Taitava/obsidian-shellcommands/discussions/201#discussioncomment-2654854
Modals that should have this possibility:
Other:
enable_enter_key_to_approve_modals
(on by default) that can be used to disable this feature in case a user wants to prevent accidental enter key presses.CHANGELOG.md
.enable_enter_key_to_approve_modals
setting to documentation.