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

Feature Request: Page Marks / Bookmark Navigation #695

Closed
DavidVorick opened this issue Feb 19, 2016 · 7 comments
Closed

Feature Request: Page Marks / Bookmark Navigation #695

DavidVorick opened this issue Feb 19, 2016 · 7 comments

Comments

@DavidVorick
Copy link

One of my favorite features of other vim-browsers was page marks. Marks in VimFx remember where you are on a page, but I would also like to be able to mark across pages. Perhaps when marking a page with a capital letter e.g. mA it remembers the URL + the scroll height (or maybe just the URL).


Detailed use case example:

go to 'github.com'
issue command [mG] -> github.com at scroll height 0 now saved
go to another page
issue command [G] -> be brought to github.com at scroll height 0 close Firefox open Firefox issue command [G] -> be brought to github.com at scroll height 0

VimFx version: 0.12.0
Firefox version: 44.0.2
OS: Gentoo Linux
Keyboard language: en-us
Worked before: -
Example URL(s): -

@lydell
Copy link
Collaborator

lydell commented Feb 19, 2016

Why didn't you follow the instructions in the issue template? It's impossible to implement features like this without enough data :) Closing until provided.

@lydell lydell closed this as completed Feb 19, 2016
@DavidVorick
Copy link
Author

ah sorry, skimmed the template and it seemed to be bugs only. I've added more information.

@lydell
Copy link
Collaborator

lydell commented Feb 19, 2016

Thanks for the extra information! Now you've described a bit how the proposed commands work. Could you give a detailed, specific use case example that shows how this feature is useful?

@DavidVorick
Copy link
Author

Sure. My browsing habits mean that 80% of my time is spent on about 10 different pages.

Reddit, Facebook, Github, Github Sia repo, Hacker News, and a small number of others. So I'd add a quickmark to each of them. Then, when I want to browse to my regular sites, instead of 'oreddit.com', I'd type 'R', which is much faster. Then, to check out the Sia issue tracker, instead of 'ogithub.com' -> [navigate to issue tracker], I'd just run 'S'.

The feature is useful because it means that the most often actions I perform have been reduced to just two button clicks per action, whereas previously it would involve typing a whole url or sometimes even requiring some navigation.

@lydell
Copy link
Collaborator

lydell commented Feb 19, 2016

Cool! But what about scroll position?

@DavidVorick
Copy link
Author

I don't think that I would need scroll position to be saved, might even be annoying if you saved at a weird height. So I think I would change the feature request to not save the scroll height.

Thanks for walking through this with me.

@lydell
Copy link
Collaborator

lydell commented Feb 19, 2016

What you want can actually already be accomplished using custom commands: https://github.com/akhodakivskiy/VimFx/wiki/Custom-Commands#open-a-specific-url

(However, setting up a config file to be able to add custom commands is currently a bit complicated, but that has been fixed in the development version.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants