[Feature Request] Vim style marks!
Love the app. Especially for long documents or websites, it would be awesome if there was a way to implement Vim-style marks, so I can mark my place, scroll, and then return to where I was before. Is this is at all possible via Scrolla?
Thanks!
wow. makes a lot of sense for long documents or pages yeah. interesting. never thought about it.
some quick points tho, off the top of my head:
- can't say i'm a 100% sure it's feasible. like does Apple provides APIs regarding a specific position of a scrollbar? scrollbar position in a documents etc.? no idea. i'd say most probably yes. Apple is good with providing screws and nails regarding almost everything. BUT can't promise until i do more research. what i can promise tho is that i'll investigate
- Scrolla currently doesn't have any database backend. are you thinking about only ONE mark, or are you thinking about several. several would require a system for Scrolla to keep track of them, which probably means db, which probably means a lot more work
- would you wanna register the marks and use them with real Vim bindings, or something else? (working on a way to bring custom key mapping to Scrolla and Wooshy so most probably could supersede later but still worth asking i think)
Thanks for the detailed response!
I think I'd be happy with even a single mark! Especially for academic PDFs, I tend to start from a single location, then click a bunch of internal PDF links, then eventually want to get back to where I started from. So a single mark would address this issue.
I'm not entirely sure what you mean about using them with real Vim bindings. I guess ideally, the marks would behave in a "Vim-like" way, really what I'm after is a way to keep track of a location I started from and be able to return to it. I'm not picky about the way this is implemented :)
I think I'd be happy with even a single mark! Especially for academic PDFs, I tend to start from a single location, then click a bunch of internal PDF links, then eventually want to get back to where I started from. So a single mark would address this issue.
a single mark would be easier to do, and faster to release. i think ultimately connecting some db to Scrolla and Wooshy's backends would be super useful, but that's a lot of research, which means way way longer time. will digest thanks.
I'm not entirely sure what you mean about using them with real Vim bindings. I guess ideally, the marks would behave in a "Vim-like" way, really what I'm after is a way to keep track of a location I started from and be able to return to it. I'm not picky about the way this is implemented :)
i meant, in Vim you set a mark with m and type a letter. to go to your mark it's either ' or ` (but in Scrolla the ` would be the one making sense) followed by the letter you chose when you defined your mark. i could stick to those ways of marking a place, at least until the custom key mapping is implemented. for me definitely kV Wooshy and Scrolla are inspired by Vim, and i want my Vim bindings everywhere. but if you have any idea or preference, you can always lemme know, i'll digest, and see what i decide 😃️ ultimately tho the plan is to make everything configurable. but at first i prefer releasing stuff that are not configurable, but work hehe
Yep, following the vim convention makes sense! I guess in Vim ' is for just the line and ` is for line and position, correct? Since position within a line doesn't necessarily make sense for just scrolling, ' makes more sense to me. But not picky either way!
Either way, looking forward to the eventual support!
Yep, following the vim convention makes sense! I guess in Vim
'is for just the line and`is for line and position, correct? Since position within a line doesn't necessarily make sense for just scrolling,'makes more sense to me. But not picky either way!
i would have chosen ` because it's the exact position. but ultimately i can and will definitely add both 😂️😂️😂️
Either way, looking forward to the eventual support!
definitely sounds super interesting, super useful, and makes total sense. so yeah, will dig into it. no ETA tho. thanks for the idea!