Comments (5)
I see, I’ll implement :)
Thank you for the idea
from tson.
Right now, LEFT and RIGHT arrow keys only go UP and DOWN, but would you consider having LEFT and RIGHT jump directly to the adjacent parent/child node in that direction?
what it mean like following?
{object}
├──like <-- cursor in there
│ ├──dog
│ └──cat
├──name
│ └──gorilla
└──age
└──27
using C-j
jump to next key as following.
{object}
├──like
│ ├──dog
│ └──cat
├──name <-- cursor in there
│ └──gorilla
└──age
└──27
using C-k
jump to previous key.
{object}
├──like <-- cursor in there
│ ├──dog
│ └──cat
├──name
│ └──gorilla
└──age
└──27
Also, the key bindings are really unintuitive for non-vim users. Could we consider using SPACEBAR and SHIFT-* (etc.) for certain actions like expanding/collapsing current node, jumping up or down a page or element, etc? I don't have anything too concrete in mind, but it's a little tricky to use right out of the box.
How about using space
to expanding/collapsing, c-j
and c-k
to move next next or previous key?
I have to keep referencing the table in the readme, but I feel like I should just be able to figure it out with my arrow keys and spacebar and ctrl/shift keys.
I added help panel so you can use ?
to display it :)
from tson.
what it mean like following?
Yep! I think so anyway 😅
How about using space to expanding/collapsing, c-j and c-k to move next next or previous key?
Sure, space is great.
I added help panel so you can use ? to display it :)
Cool, thanks!
from tson.
@mholt Hi, I implemented following, please update tson and try it :)
- use
space
to expand/collapse node - use
c-j
to move next parent node,c-k
to move previous parent node.
If you find some bug let me know :)
from tson.
Great! Nice improvements, thanks :)
from tson.
Related Issues (13)
- Add feature of save tree to json HOT 2
- Display parent nodes when search result
- Refactor for use as a library HOT 3
- Add documentation of navigation HOT 1
- Add feature of send http request and display json tree HOT 3
- Add feature of read json from url HOT 1
- Add test
- Edit json with $EDITOR HOT 1
- can't work edit json with $EDITOR on MacOS HOT 1
- sort tree node
- Don't save filtered json tree HOT 1
- copy node value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tson.