You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most bearded old geeks are very used to vi keys for scrolling everywhere so kindly add them. They are readily supported by all unix/linux commands that has scrolling: less, git, etc
I'm a bit surprised that I couldn't find any open or closed issue for this. :)
I saw that but I'm not sure cause it's already merged (I built this morning) and this is about scrolling view (although i'm not sure what editing mode is).
Activity
sophiajt commentedon Oct 1, 2019
Is this related? #407
zeenix commentedon Oct 1, 2019
I saw that but I'm not sure cause it's already merged (I built this morning) and this is about scrolling view (although i'm not sure what editing mode is).
sophiajt commentedon Oct 1, 2019
Ahh okay. Vi mode isn't on by default, but it may be only for editing and not for scrolling.
sophiajt commentedon Oct 1, 2019
For scrolling, you don't mean the prompt but the textview (the scrolling text file viewer)?
If so, that wouldn't be hard to add.
zeenix commentedon Oct 1, 2019
I did enable it as per your blog post but it didn't affect scrolling so yeah.
Indeed.
Cool. Same here, if you can point to the relevant parts of the code that needs changing and any other hints, you might be able to get a PR. :)
sophiajt commentedon Oct 1, 2019
Sure thing :)
The relevant lines for the scrolling text view are: https://github.com/nushell/nushell/blob/master/src/plugins/textview.rs#L150-L185
In theory, it should be as simple as adding a few more keys we're looking for there.
sophiajt commentedon Oct 3, 2019
This should be fixed with #775
menu options (nushell#748)
menu options (#748)