Idea: over
command #201
Labels
No Label
blocked
bug
build
documentation
duplicate
enhancement
finger
gemini
gopher
help wanted
http
in progress
invalid
local
needs-info
non-code
non-functional
non-urgent
question
release
rendering
suggestion
telnet
terminal
urgent
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sloum/bombadillo#201
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The idea here is similar to forth's over word.
Lets say that the client history looks like this:
You may want to continue browsing, but not lose your place in
23.gmi
. Without tabs, there is no way to do this in the present design. I am against adding tabs to Bombadillo. Butover
orjump
could achieve the desired effect.In the current state, to keep browsing off of the
main.gmi
file I'd need to go back, or manually type in the address. Then if I navigate I lose 23.gmi from my navigation history.So what this new command would do is copy the history entry underneath the current entry and place the copy above the current page (placing you on that entry). So the history would look like this:
This lets us keep navigating while having access to a page we want to keep in our navigation history, including page state (what line we were on) for both the page we want to keep and the page we want to navigate from.
In theory this could take an optional param that would allow an arbitrary copy to the top of the history stack.
I feel like this is a hard to explain feature, but would be really useful. What do you think @asdf ?
I have opened a PR with this in #202
It was shockingly easy to implement and has already been really useful for me.