Giter Club home page Giter Club logo

Comments (11)

godbout avatar godbout commented on June 10, 2024

interesting.

here's the thing. the first internal version of Scrolla was working the way you're describing. actually it somehow still works this way. the thing is if you keep pressing, it cancels the last move and adds a new move. this is what brings the smooth scrolling. it's a hack. it's possible not to cancel the last scroll of course, and to press and/or hold, but then i don't see how i can get the smooth scrolling. am i missing something or Vimari doesn't do smooth scrolling? (i'm on battery. maybe a energy efficient thing?)

from scrolla.docs.

godbout avatar godbout commented on June 10, 2024

Vimium and Vimari work differently indeed. Scrolla currently works like Vimium.

from scrolla.docs.

godbout avatar godbout commented on June 10, 2024

i'm thinking about making this an option. like scroll type: hold, smooth or press, rough.

from scrolla.docs.

jannis-baum avatar jannis-baum commented on June 10, 2024

but then i don't see how i can get the smooth scrolling. am i missing something or Vimari doesn't do smooth scrolling? (i'm on battery. maybe a energy efficient thing?)

Vimari has the setting "smoothScroll". I have it set to true, maybe yours is false?

On top of that, Vimari has "scrollSize" and "scrollDuration" which define the distance, time and speed of an individual scroll (key press). Having these three settings would be the perfect setup for me. I guess at least the scrollSize would have to be settable for jk, ud etc individually.

from scrolla.docs.

godbout avatar godbout commented on June 10, 2024

Vimari has the setting "smoothScroll". I have it set to true, maybe yours is false?

turned on yes. definitely not smooth for me.

from scrolla.docs.

godbout avatar godbout commented on June 10, 2024

oh ok. if you do one press yes, it's smooth. if you keep pressing, or hold, then it's not smooth. at least not in my case. running on real electricity now.

from scrolla.docs.

jannis-baum avatar jannis-baum commented on June 10, 2024

For me it's very smooth🤷

Screen.Recording.2022-11-24.at.10.23.29.AM.mov

Holding & pressing the up/down keys with these settings:

{
  "scrollSize": 300,
  "smoothScroll": true,
  "scrollDuration": 25
}

Hope the video plays properly

from scrolla.docs.

godbout avatar godbout commented on June 10, 2024

hmm. changed from 150 to 300. still not as smooth as yours. strange.

from scrolla.docs.

jannis-baum avatar jannis-baum commented on June 10, 2024

My full completely random settings:

{
  "excludedUrls": "",
  "linkHintCharacters": "qwrf;zm,",
  "detectByCursorStyle": false,
  "scrollSize": 300,
  "openTabUrl": "about:blank",
  "modifier": "",
  "smoothScroll": true,
  "scrollDuration": 25,
  "transparentBindings": true,
  "bindings": {
      "hintToggle": "ctrl+f",
      "newTabHintToggle": "ctrl+shift+f",
      "scrollUp": "up",
      "scrollDown": "down",
      "scrollLeft": "left",
      "scrollRight": "right",
      "scrollUpHalfPage": "",
      "scrollDownHalfPage": "",
      "goToPageTop": "",
      "goToPageBottom": "",
      "goToFirstInput": "",
      "goBack": "",
      "goForward": "",
      "reload": "",
      "tabForward": "",
      "tabBack": "",
      "closeTab": "",
      "openTab": ""
  }
}

(I was trying to use it with kV last time I used it so I had everything disabled and just wanted it to scroll)

from scrolla.docs.

godbout avatar godbout commented on June 10, 2024

same. maybe just my perception. i find Sl smoother. anyways, will try to add a not holding mode.

from scrolla.docs.

godbout avatar godbout commented on June 10, 2024

not sure where this is going because scrolling properly without holding and/or while holding requires different work combined together, but here's some research that may help (for myself):

from scrolla.docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.