5 ms·
Show HN: A general tree editor component – Vim shortcuts, drag and drop
- nathancahill 12y agoDoesn't work in Firefox, but it works in Chrome. Nice project.
- themodelplumber 12y agoNice work, so glad to see someone doing work in this area. Thanks for sharing it. It was a little disorienting (as a novice Vim user) to press return after labeling a node, only to create a new node, which then remains as an empty node after I switched back to normal mode. But for all I know, that's the whole point of...something :-)
- michaelmior 12y agoI assume the idea is to allow you to quickly insert many nodes without having to continually toggle from normal mode to insert mode.
- jaredly 12y agoHmm, I hadn't thought of removing the node if you never typed anything. Good idea.
- Arnor 12y agoVery cool. I do find myself going for dd trying to delete nodes and gg trying to get back to the top.
- jaredly 12y ago=) that's coming.
- codehero 12y agoDoesn't work when Vimium extension is enabled...though this project makes we want to disable it.
- NoodleIncident 12y agoI'm not familiar with Vimium, but Vimperator for Firefox will stop responding to everything when you press the "insert" key. There might be something equivalent for your plugin.
- dreyfiz 12y agoIt worked for me when I typed an i to get Vimium into its insert mode. Although that is getting a little ridiculous.
- davvid 12y agoThis is nice! A few comments: When you are on a closed node, hitting "l" (lower-case L) would be a nice way to open that node. When you are on a opened node, hitting "h" would be a nice way to close that node. It seems nicely vimish. I have a very similar set of vim-ish keyboard hotkeys on the tree widgets in git-cola.
- jaredly 12y agoalt-l opens, alt-h closes currently. h takes you to the parent of the current node.
- sitkack 12y agoReminds me of TreeSheets http://strlen.com/treesheets/docs/screenshots.html http://strlen.com/treesheets/docs/screenshots.html