Quorafind / Obsidian-Canvas-MindMap

A plugin to make your canvas work like a mindmap.
269 stars 24 forks source link

Feature Request: Enter is not creating the new brother card in flow #20

Closed Gourav1910 closed 8 months ago

Gourav1910 commented 1 year ago

Feature Requested

Hi, your plugin is really amazing but there is a little problem. Whenever we create a card and start typing in it then if we press enter then it just change the line inside the card only just like any text editor. It does not create a new card. For creating a new brother card we first need to click somewhere else to come out of that card's editing mode and then we again click on it and then we press enter to create a new brother card. This breaks the whole flow of creating new cards fast. So please make some changes to that enter key. You can change it to "clt + enter" or something.

Relevant Screenshot

No response

Checklist

Quorafind commented 1 year ago

Sure, I can make some changes to this.

salievi commented 1 year ago

Second this. On my system at least, there seems to be no way to create a brother card with this plugin, which takes away half the functionality.

anqi-j commented 1 year ago

Agree! Enter does not work consistently for me. Hotkeys like "Ctrl + Enter" probably work better.

duckfarts commented 1 year ago

I found that the quick way to deal with this is that when you're editing a card, press Esc to exit the card, then you can press Enter to make a sibling card.

I agree that making a hotkey for it would be best so you can set it to whatever you want. I don't think it's a good idea to make Enter create a new card when you're editing a card, because it would then prevent you from making line breaks (otherwise, you could make it a toggleable option).

Quorafind commented 1 year ago

Same #22

Gourav1910 commented 1 year ago

ESC is taking out us from card's editing mode but not doing anything after hitting enter. Even though the card is still selected.

janhink commented 1 year ago

Hello, I'm having the same issue. ESC ends the edit mode but hitting Enter afterwards does nothing. The only solution is to click outside and then select the card again, or do the same by traversing to another node with keyboard, then returning back and then hitting enter.

Quorafind commented 8 months ago

Got fixed in the lastest version. And also you can set globally commands to call this feature. That should help.