Adds a jump command #202

Merged
sloum merged 2 commits from over-command into release2.3.3 2020-11-20 04:07:17 +00:00
Owner

Adds a jump command to allow for navigating by history location as an alternate to a tabbed workflow. This is discussed briefly in #201 and implemented here. Rather than calling it over I landed on jump as I thought that might make more sense to anyone that is not a forth programmer.

The basic idea is that this lets you view pages from your history and navigate from them without having to reset history back to them. This can allow you to do some cool things. If you are browsing, for example, lobsters over gemini there is a central index page and lots of links. If you navigate to a link you can read the page then go back and navigate to another link. But when you do you lose the history availability of that first link. Using jump you can navigate to a link, then jump the main index to the top of history (it copies, rather than moving it), you can navigate to a different link and still have the first link in your history. Allowing you to navigate freely between both articles, retaining things like scroll position.

This is not a full replacement for a tab style workflow, but I think goes a long way to allowing novel usage of history to retain the documents you want to be able to move between. I do still have a bit of trouble describing it, lol... but it has solved a problem that I have had when using bombadillo. The previous solution had always been open a terminal split and load another instance of bombadillo. This makes it so that that is less necessary.

As a part of this PR I have also updated the man page to reflect the new command.

Adds a jump command to allow for navigating by history location as an alternate to a tabbed workflow. This is discussed briefly in #201 and implemented here. Rather than calling it `over` I landed on `jump` as I thought that might make more sense to anyone that is _not_ a forth programmer. The basic idea is that this lets you view pages from your history and navigate from them without having to reset history back to them. This can allow you to do some cool things. If you are browsing, for example, lobsters over gemini there is a central index page and lots of links. If you navigate to a link you can read the page then go back and navigate to another link. But when you do you lose the history availability of that first link. Using jump you can navigate to a link, then jump the main index to the top of history (it copies, rather than moving it), you can navigate to a different link and _still have_ the first link in your history. Allowing you to navigate freely between both articles, retaining things like scroll position. This is not a full replacement for a tab style workflow, but I think goes a long way to allowing novel usage of history to retain the documents you want to be able to move between. I do still have a bit of trouble describing it, lol... but it has solved a problem that I have had when using bombadillo. The previous solution had always been open a terminal split and load another instance of bombadillo. This makes it so that that is less necessary. As a part of this PR I have also updated the man page to reflect the new command.
sloum merged commit a6a324acb3 into release2.3.3 2020-11-20 04:07:18 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sloum/bombadillo#202
No description provided.