Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to move up and down in the hierarchy? If not, maybe there should be? #821

Open
1 task done
alienbogart opened this issue Jun 14, 2020 · 4 comments
Open
1 task done
Assignees
Labels
1. enhancement Requests to add new functionality
Projects

Comments

@alienbogart
Copy link

Brief Abstract

There is no practical to navigate hierarchically. I think there should be.

Proposed Implementation (if any)

Commands such org-roam-forward and org-roam-backward, or better yet org-roam-up and org-roam-down, similar to what we have on Info-mode

Please check the following:

  • No similar feature requests
@alienbogart alienbogart added the 1. enhancement Requests to add new functionality label Jun 14, 2020
@JeffreyBenjaminBrown
Copy link

You can navigate headlines in org-roam just like in org-mode; in fact, org-roam offloads all that work to org-mode. The keyboard shortcuts are C-c n (next headline), C-c p (previous), C-c u (up). There's no down, as it doesn't remember where you last were.

The graph of links between files and headlines is (probably) not a tree, so there's no natural way to define next, previous, up or down.

It would be nice if there was a "back" shortcut, much like web browsers offer. Until someone implements that, though, there's always buffer mode.

@alienbogart
Copy link
Author

I see. That would be nice indeed. I'm using "previous/next-buffer for now". Thanks!

@zaeph
Copy link
Member

zaeph commented Jun 14, 2020

Linked to #531 and #118. I've worked on jump-history in the past, and I could implement something rudimentary, but I think we've got other priorities for the moment.

@zaeph zaeph added the trails label Jun 14, 2020
@zaeph zaeph self-assigned this Jun 14, 2020
@samspills
Copy link

I don't know anything about jump-history but you could also use org-mark-ring-goto to quickly jump back to previous positions. The only caveat is that this will jump to previous positions within an org-file, not just between different files. Still it's pretty useful for when I'm navigating through backlinks and stuff. If that would be useful, I could put together a quick PR that basically creates a function org-roam-goto-previous-position that just calls org-mark-ring-goto.

@jethrokuan jethrokuan removed the trails label Jul 29, 2021
@jethrokuan jethrokuan added this to Backlog in Org-roam Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. enhancement Requests to add new functionality
Projects
Org-roam
Backlog
Development

No branches or pull requests

5 participants