canvas-mindmap-keyboard

pending

by tonghejiao

MindMap for Canvas: Tab/Enter/Arrow driven, auto-layout and auto-size.

14 starsUpdated 5mo ago0BSDDiscovered via Obsidian Unofficial Plugins
View on GitHub

canvas mindmap keyboard

Introduce

The purpose is to create a canvas-based mind map plug-in that can be operated by keyboard as much as possible.

Development background

Thank you for this warehouse: https://github.com/Quorafind/Obsidian-Canvas-MindMap

To be honest, if the author of this warehouse hadn't updated the plug-in for 1 year, I wouldn't have been too lazy to develop this plug-in.

Contact me

WeChat: smallconantong

Feature

NameIntroduceUse the premise
The plug-in takes effect according to the file name.In order to avoid functions such as automatic layout affecting the existing canvas file, it will only take effect when the canvas file name contains the mindmap string, which can be modified in the settings.
Create a root nodePress the enter keyWhen no node is selected
The file name contains the mindmap string
Create sub-nodesPress the tab keyWhen only one node is selected
The file name contains the mindmap string
Create a brother nodePress the enter keyWhen only one node is selected
The file name contains the mindmap string
Delete nodes and subtreesPress the backspace keyWhen only one node is selected
The file name contains the mindmap string
Move the focus node(free mode)Press the i/j/k/l key
You can modify it in the settings.
When only one node is selected
The file name contains the mindmap string
Move the focus node until end (free mode)Press the Shift + i/j/k/l key
You can modify it in the settings.

The file name contains the mindmap string
Move the focus node(Normal mode)macos: Press the Ctrl + i/j/k/l key
otheros: Press the Alt + i/j/k/l key
You can modify it in the settings.
When only one node is selected
The file name contains the mindmap string
Move the focus node until end(Normal mode)macos: Press the Ctrl + Shift + i/j/k/l key
otheros: Press the Alt + Shift + i/j/k/l key
You can modify it in the settings.

The file name contains the mindmap string
The node enters the editing statePress the space barWhen only one node is selected
The file name contains the mindmap string
Select the node closest to the center of the viewPress the space barWhen not a single node is selected
The file name contains the mindmap string
Automatically adjust the height of the nodeWhen the node exits the editing state
The file name contains the mindmap string
Automatic layoutThere are three levels of automatic layout:
- automatic layout of the entire canvas,
- automatic layout in the tree,
- and non-automatic layout.
You can also set the automatic layout for the canvas separately. You only need to add keywords to the file name (check in the settings)
When creating and deleting nodes
The file name contains the mindmap string
Manually adjust the height of all nodes in canvasCommand: global resize
Manually adjust the layout of the whole canvasCommand: global relayout
Manually adjust the height and layout of all nodesCommand: global resize and relayout
Adjust the layout of the tree where the selected node is locatedCommand: relayout selected tree

Notes

  • The name of the modified key: Ctrl Shift Alt Mod (mod is cmd in macos, and ctrl in other systems)
  • Special key name: ArrowUp ArrowDown ArrowLeft ArrowRight
  • Using Alt as a modifier key often fails in macos. The reason may be that alt+ characters in the input method will be converted into special characters, so it is not recommended to use shortcuts with alt in macos.
  • This plug-in judges the parent-child relationship through the primary color connection between nodes. If a node has two parent nodes, some accidents may occur in the layout. Please let one node have only one father, if there must be more than one. Please use colored wires to connect.

Buy me a coffee

ko-fi

wechat

mm_reward_qrcode_1760682528374(1)

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.