obsidian-slash-commander icon indicating copy to clipboard operation
obsidian-slash-commander copied to clipboard

Command trigger doesn't work with "Space" character

Open Hugo-COLLIN opened this issue 1 year ago • 2 comments

Really thanks for this time-saver plugin!

Issue:

I want to press the spacebar to open the menu, but when I specify a space in the "Command trigger" option and try it on a note, the menu is not appearing. Please make it possible with Space character, it's more convenient than / for a french azerty keyboard.

  1. Working with / image

  2. Changing to Space charater image

  3. Trying with Space character, not appearing. image

Hugo-COLLIN avatar Apr 13 '24 14:04 Hugo-COLLIN

I've released 0.1.16 for this, simply by not ignoring the leading spaces of a new line. For now, the space trigger only takes effect in the new-line-only mode. Any spaces in a sentence will still be considered word delimiters.

alephpiece avatar Apr 13 '24 15:04 alephpiece

@alephpiece Thank you for your quick response! Works well now 👍

For now, the space trigger only takes effect in the new-line-only mode.

Please specify it in the "Command trigger" description, it will save other people from asking the question.

Hugo-COLLIN avatar Apr 13 '24 16:04 Hugo-COLLIN