Qyriad,
@Qyriad@chaos.social avatar

does anyone have the sequence of words that make <C-u> and <C-d> in less (or moar) and neo/vim jump up and down by a specific proportion of the viewport hight

tshirtman,
@tshirtman@mas.to avatar

@Qyriad i don’t have it, but i would create a function that takes a percentage, gets the current window height, and set scroll to the ratio multiplied by the height, then i would bind that function to events like WinEnter and WinResized. At least for vim, not sure that could be ported to less.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • vim
  • slotface
  • kavyap
  • thenastyranch
  • everett
  • tacticalgear
  • rosin
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • InstantRegret
  • Youngstown
  • khanakhh
  • ethstaker
  • JUstTest
  • ngwrru68w68
  • cisconetworking
  • modclub
  • tester
  • osvaldo12
  • cubers
  • GTA5RPClips
  • normalnudes
  • Leos
  • provamag3
  • anitta
  • megavids
  • lostlight
  • All magazines